Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.686/2.686, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 176.3 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.397/2.397, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009078/0.0009078, allocations: 82.38 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007083/0.0007086, allocations: 11.91 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2755, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2732/0.5488, allocations: 132.2 MB / 1.029 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/0.5491, allocations: 79.95 kB / 1.029 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.5641, allocations: 2.855 MB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5642, allocations: 0 / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5642, allocations: 0 / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004378/0.5646, allocations: 351.5 kB / 1.032 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.5647, allocations: 8.031 kB / 1.032 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.5647, allocations: 4.938 kB / 1.032 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.5649, allocations: 168.4 kB / 1.032 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.5649, allocations: 384 / 1.032 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.565, allocations: 8.375 kB / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.5651, allocations: 42.19 kB / 1.032 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.5651, allocations: 192 / 1.032 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.5651, allocations: 7.938 kB / 1.032 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.5652, allocations: 4 kB / 1.032 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.958e-05/0.5652, allocations: 7.938 kB / 1.032 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.5654, allocations: 153.7 kB / 1.032 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.5657, allocations: 54.59 kB / 1.032 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.5658, allocations: 16.94 kB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.5659, allocations: 4 kB / 1.032 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.5659, allocations: 34.5 kB / 1.032 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 4.008e-06/0.5659, allocations: 0 / 1.032 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0008399/0.5668, allocations: 318 kB / 1.033 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.5668, allocations: 51.41 kB / 1.033 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.5669, allocations: 97.84 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.567, allocations: 25.7 kB / 1.033 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.567, allocations: 88.14 kB / 1.033 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.567, allocations: 11.8 kB / 1.033 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.5671, allocations: 4 kB / 1.033 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5672, allocations: 318.8 kB / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.655e-05/0.5673, allocations: 8 kB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/0.5673, allocations: 16 kB / 1.033 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.103e-05/0.5674, allocations: 15.98 kB / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5674, allocations: 0 / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001574/0.5675, allocations: 61.55 kB / 1.033 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.5676, allocations: 11.94 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.5676, allocations: 3.984 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5676, allocations: 0 / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.5677, allocations: 12.06 kB / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.5678, allocations: 4 kB / 1.033 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.247e-05/0.5678, allocations: 4 kB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.5678, allocations: 4 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.595e-05/0.5679, allocations: 109.8 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.5679, allocations: 3.938 kB / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.5682, allocations: 81.52 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.5682, allocations: 4 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5682, allocations: 0 / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5682, allocations: 3.938 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.5687, allocations: 319.3 kB / 1.034 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5687, allocations: 0 / 1.034 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.5688, allocations: 11.98 kB / 1.034 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5688, allocations: 4 kB / 1.034 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.5688, allocations: 0 / 1.034 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.5689, allocations: 0 / 1.034 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5689, allocations: 0 / 1.034 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.5691, allocations: 188.3 kB / 1.034 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.5692, allocations: 77.11 kB / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.5692, allocations: 11.97 kB / 1.034 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.5694, allocations: 0 / 1.034 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.5694, allocations: 8.5 kB / 1.034 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.5695, allocations: 0 / 1.034 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.984e-05/0.5695, allocations: 83.27 kB / 1.034 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/0.5695, allocations: 0 / 1.034 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003597/0.5699, allocations: 27.94 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002542/0.5702, allocations: 127.4 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.5703, allocations: 35.98 kB / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.5703, allocations: 7.938 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.337e-05/0.5704, allocations: 12 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.5707, allocations: 7.938 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.5713, allocations: 229.2 kB / 1.035 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.5716, allocations: 0.6809 MB / 1.035 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.101e-05/0.5717, allocations: 15.92 kB / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.5717, allocations: 11.44 kB / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of SimCode: time 8.82e-07/0.5717, allocations: 0 / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of Templates: time 0.003727/0.5755, allocations: 0.6016 MB / 1.036 GB, free: 5.305 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)