Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Flow_Resistance.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) 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) Running command: translateModel(ThermofluidStream.Processes.Tests.Flow_Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flowResistance.m_flow|flowResistance1.m_flow|flowResistance2.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Flow_Resistance") translateModel(ThermofluidStream.Processes.Tests.Flow_Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flowResistance.m_flow|flowResistance1.m_flow|flowResistance2.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Flow_Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008408/0.0008409, allocations: 171.6 kB / 16.11 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.148/1.148, allocations: 205 MB / 221.9 MB, free: 9.062 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007546/0.0007543, allocations: 88.56 kB / 269.9 MB, free: 8.656 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5755/0.5755, allocations: 90.51 MB / 408.3 MB, free: 3.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002634, allocations: 8.219 kB / 484.8 MB, free: 7.215 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2293, allocations: 65.81 MB / 0.5378 GB, free: 34.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Flow_Resistance): time 0.3354/0.5648, allocations: 155.9 MB / 0.69 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006448/0.5712, allocations: 7.492 MB / 0.6973 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000378/0.5716, allocations: 8.219 kB / 0.6973 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009564/0.5726, allocations: 421.1 kB / 0.6977 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.5739, allocations: 0.6548 MB / 0.6983 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009793/0.5748, allocations: 458.3 kB / 0.6988 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.5759, allocations: 1.306 MB / 0.7 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.5762, allocations: 311 kB / 0.7003 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004138/0.5766, allocations: 361.8 kB / 0.7007 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005687/0.5772, allocations: 0.5768 MB / 0.7013 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.5773, allocations: 30.88 kB / 0.7013 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.579, allocations: 0.9105 MB / 0.7022 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.5792, allocations: 133.3 kB / 0.7023 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.5795, allocations: 337.6 kB / 0.7026 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.5808, allocations: 1.166 MB / 0.7038 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5808, allocations: 1.125 kB / 0.7038 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5808, allocations: 0 / 0.7038 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.5808, allocations: 0 / 0.7038 GB, free: 1.059 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001692/0.5825, allocations: 0.9632 MB / 0.7047 GB, free: 16.47 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.5826, allocations: 9.219 kB / 0.7047 GB, free: 16.47 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.5827, allocations: 70.84 kB / 0.7048 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004486/0.5832, allocations: 438.1 kB / 0.7052 GB, free: 16.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.5832, allocations: 45.03 kB / 0.7052 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.715e-05/0.5833, allocations: 65.14 kB / 0.7053 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.5843, allocations: 0.7506 MB / 0.706 GB, free: 16.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5844, allocations: 0 / 0.706 GB, free: 16.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.5844, allocations: 25.09 kB / 0.7061 GB, free: 16.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/0.5844, allocations: 38 kB / 0.7061 GB, free: 16.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.5855, allocations: 0.8589 MB / 0.7069 GB, free: 16.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/0.5885, allocations: 3.264 MB / 0.7101 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009145/0.5894, allocations: 0.6985 MB / 0.7108 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/0.59, allocations: 412.2 kB / 0.7112 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002057/0.592, allocations: 2.201 MB / 0.7133 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.5921, allocations: 36.66 kB / 0.7134 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 1.794e-06/0.5921, allocations: 0.6875 kB / 0.7134 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.003606/0.5957, allocations: 2.332 MB / 0.7157 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.5957, allocations: 62.91 kB / 0.7157 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.596, allocations: 291.3 kB / 0.716 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.596, allocations: 33.08 kB / 0.716 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.5962, allocations: 255.1 kB / 0.7163 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.5963, allocations: 218.4 kB / 0.7165 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.5963, allocations: 10.69 kB / 0.7165 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5964, allocations: 353.7 kB / 0.7168 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.5968, allocations: 260.9 kB / 0.7171 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.5972, allocations: 316.7 kB / 0.7174 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007607/0.5979, allocations: 0.614 MB / 0.718 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5979, allocations: 0 / 0.718 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001226/0.5992, allocations: 0.8857 MB / 0.7188 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.5992, allocations: 6.469 kB / 0.7188 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5992, allocations: 2.906 kB / 0.7189 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/0.6006, allocations: 406.5 kB / 0.7192 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.6009, allocations: 74.69 kB / 0.7193 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.602, allocations: 1.072 MB / 0.7204 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.6023, allocations: 46.67 kB / 0.7204 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/0.6024, allocations: 24.92 kB / 0.7204 GB, free: 10.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.6026, allocations: 205.6 kB / 0.7206 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/0.6027, allocations: 39.38 kB / 0.7207 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.6043, allocations: 1.018 MB / 0.7217 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6043, allocations: 7.031 kB / 0.7217 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.6043, allocations: 0 / 0.7217 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.81e-05/0.6044, allocations: 114.9 kB / 0.7218 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.6045, allocations: 15.22 kB / 0.7218 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.6048, allocations: 38.91 kB / 0.7218 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.6049, allocations: 62.08 kB / 0.7219 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001727/0.6066, allocations: 0.9791 MB / 0.7228 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00146/0.6081, allocations: 1.304 MB / 0.7241 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003787/0.6085, allocations: 334.8 kB / 0.7244 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001603/0.6086, allocations: 208 kB / 0.7246 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of Backend: time 4.61e-07/0.6087, allocations: 0 / 0.7246 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001602/0.6103, allocations: 0.8543 MB / 0.7255 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of SimCode: time 0.001898/0.6122, allocations: 1.967 MB / 0.7274 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of Templates: time 0.01764/0.6298, allocations: 13.9 MB / 0.741 GB, free: 3.016 MB / 0.5105 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Flow_Resistance.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Flow_Resistance.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Flow_Resistance.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Flow_Resistance.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Flow_Resistance.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Flow_Resistance -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Flow_Resistance.pipe 2>&1)