Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_BaseClasses_test_GasNode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_BaseClasses_test_GasNode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009258/0.0009259, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06359/0.06359, allocations: 10.99 MB / 281.4 MB, free: 10.29 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01651/0.01651, allocations: 4.229 MB / 336 MB, free: 29.13 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005434/0.0005436, allocations: 12 kB / 398.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3363, allocations: 50.75 MB / 449.5 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode): time 0.509/0.8454, allocations: 157.5 MB / 0.5928 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.8488, allocations: 1.305 MB / 0.594 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000294/0.8491, allocations: 3.156 kB / 0.594 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006472/0.8498, allocations: 115.6 kB / 0.5942 GB, free: 1.824 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002159/0.8519, allocations: 499.9 kB / 0.5946 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004396/0.8564, allocations: 0.9634 MB / 0.5956 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.8582, allocations: 1.009 MB / 0.5966 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004756/0.8587, allocations: 195.8 kB / 0.5967 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008944/0.8596, allocations: 323.6 kB / 0.5971 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006897/0.8603, allocations: 277.9 kB / 0.5973 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.617e-05/0.8604, allocations: 17.81 kB / 0.5973 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006888/0.8673, allocations: 2.351 MB / 0.5996 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.8677, allocations: 145.8 kB / 0.5998 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.8679, allocations: 92.55 kB / 0.5999 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.8705, allocations: 1.079 MB / 0.6009 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.8706, allocations: 3.938 kB / 0.6009 GB, free: 1.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.8706, allocations: 0 / 0.6009 GB, free: 1.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.8706, allocations: 0 / 0.6009 GB, free: 1.59 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001593/0.8722, allocations: 0.7808 MB / 0.6017 GB, free: 17.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.8723, allocations: 8.312 kB / 0.6017 GB, free: 17.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.781e-05/0.8724, allocations: 71.48 kB / 0.6018 GB, free: 16.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004554/0.8728, allocations: 44.72 kB / 0.6018 GB, free: 16.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.8734, allocations: 302.2 kB / 0.6021 GB, free: 16.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.8734, allocations: 23.5 kB / 0.6021 GB, free: 16.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.8735, allocations: 29.56 kB / 0.6021 GB, free: 16.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.8743, allocations: 360.1 kB / 0.6025 GB, free: 16.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.8744, allocations: 0 / 0.6025 GB, free: 16.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.8744, allocations: 11.5 kB / 0.6025 GB, free: 16.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.8745, allocations: 8.438 kB / 0.6025 GB, free: 16.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007523/0.8752, allocations: 381.5 kB / 0.6029 GB, free: 16.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00277/0.878, allocations: 1.494 MB / 0.6043 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/0.8787, allocations: 359.3 kB / 0.6047 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.879, allocations: 146.3 kB / 0.6048 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006231/0.8797, allocations: 361.6 kB / 0.6052 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.8797, allocations: 42.41 kB / 0.6052 GB, free: 15.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 3.537e-06/0.8797, allocations: 0 / 0.6052 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.0373/0.917, allocations: 4.629 MB / 0.6097 GB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.9171, allocations: 54.69 kB / 0.6098 GB, free: 14.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.9176, allocations: 260.5 kB / 0.61 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.9178, allocations: 34.27 kB / 0.61 GB, free: 13.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.9179, allocations: 155.6 kB / 0.6102 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.918, allocations: 132.4 kB / 0.6103 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.9181, allocations: 12.81 kB / 0.6103 GB, free: 13.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.9183, allocations: 337.5 kB / 0.6107 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.9186, allocations: 150.3 kB / 0.6108 GB, free: 13.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.9191, allocations: 228.5 kB / 0.611 GB, free: 13.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.9195, allocations: 181.1 kB / 0.6112 GB, free: 13.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.9195, allocations: 0 / 0.6112 GB, free: 13.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.02326/0.9428, allocations: 2.773 MB / 0.6139 GB, free: 12.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.9429, allocations: 5.125 kB / 0.6139 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.9429, allocations: 2.875 kB / 0.6139 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01174/0.9547, allocations: 1.655 MB / 0.6155 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.9551, allocations: 75.97 kB / 0.6156 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.9566, allocations: 1.729 MB / 0.6173 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.9569, allocations: 25.86 kB / 0.6173 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.957, allocations: 20.7 kB / 0.6173 GB, free: 9.926 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (41): * Single equations (assignments): 38 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000346/0.9574, allocations: 167.3 kB / 0.6175 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.9574, allocations: 30.48 kB / 0.6175 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009263/0.9667, allocations: 1.625 MB / 0.6191 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.9668, allocations: 6.375 kB / 0.6191 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.9668, allocations: 0 / 0.6191 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/0.9669, allocations: 3.984 kB / 0.6191 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.9771, allocations: 2.177 MB / 0.6212 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.9772, allocations: 6.562 kB / 0.6212 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.9776, allocations: 63.41 kB / 0.6213 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02201/0.9996, allocations: 3.023 MB / 0.6243 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.9997, allocations: 14.8 kB / 0.6243 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008715/1.001, allocations: 1.174 MB / 0.6254 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.001, allocations: 0 / 0.6254 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009564/1.01, allocations: 1.857 MB / 0.6272 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/1.01, allocations: 104.1 kB / 0.6273 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/1.011, allocations: 10.25 kB / 0.6273 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/1.011, allocations: 15.36 kB / 0.6274 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/1.011, allocations: 22.84 kB / 0.6274 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/1.011, allocations: 27.33 kB / 0.6274 GB, free: 3.203 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002251/1.011, allocations: 187.8 kB / 0.6276 GB, free: 3.051 MB / 414.1 MB Notification: Performance of sort global known variables: time 3e-07/1.011, allocations: 0 / 0.6276 GB, free: 3.051 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00139/1.013, allocations: 341 kB / 0.6279 GB, free: 2.738 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gasNode.medium.Xi[1],gasNode.medium.d,gasNode.medium.T) * 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 (36): * Single equations (assignments): 34 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00296/1.016, allocations: 1.627 MB / 0.6295 GB, free: 1.336 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009783/1.017, allocations: 429.6 kB / 0.6299 GB, free: 1.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.017, allocations: 2.75 kB / 0.6299 GB, free: 1.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004282/1.017, allocations: 223 kB / 0.6301 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/1.018, allocations: 181.5 kB / 0.6303 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02253/1.041, allocations: 4.774 MB / 0.635 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/1.041, allocations: 0.8089 MB / 0.6357 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000509/1.042, allocations: 91.16 kB / 0.6358 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/1.042, allocations: 100.4 kB / 0.6359 GB, free: 11.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/1.042, allocations: 4 kB / 0.6359 GB, free: 11.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/1.086, allocations: 15.59 MB / 0.6512 GB, free: 12 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003316/1.087, allocations: 279.2 kB / 0.6514 GB, free: 11.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.582, allocations: 0 / 0.6514 GB, free: 11.64 MB / 446.1 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_BaseClasses_test_GasNode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_BaseClasses_test_GasNode.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode.pipe 2>&1) Environment - environmentSimulation: