Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 108.8 kB / 19.16 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 205.6 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 207.6 MB / 232.5 MB, free: 3.875 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 52.34 kB / 343 MB, free: 9.969 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.1011, allocations: 49.13 MB / 392.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.08009/0.1811, allocations: 66.02 MB / 458.2 MB, free: 6.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007508/0.1887, allocations: 5.476 MB / 463.6 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003892/0.189, allocations: 11.94 kB / 463.6 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.1901, allocations: 369.9 kB / 464 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.1912, allocations: 0.5089 MB / 464.5 MB, free: 48 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2031/0.3943, allocations: 7.089 MB / 471.6 MB, free: 4.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002106/0.3964, allocations: 1.55 MB / 473.2 MB, free: 4.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003599/0.3967, allocations: 163.5 kB / 473.3 MB, free: 4.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.3981, allocations: 0.6423 MB / 474 MB, free: 4.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.3994, allocations: 0.6026 MB / 474.6 MB, free: 4.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002642/0.3996, allocations: 83.34 kB / 474.6 MB, free: 4.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02007/0.4197, allocations: 10.27 MB / 484.9 MB, free: 4.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000507/0.4202, allocations: 335.3 kB / 485.2 MB, free: 4.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007498/0.421, allocations: 434.9 kB / 485.7 MB, free: 4.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.4329, allocations: 5.933 MB / 491.6 MB, free: 1.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4329, allocations: 0 / 491.6 MB, free: 1.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4329, allocations: 0 / 491.6 MB, free: 1.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.4329, allocations: 3.562 kB / 491.6 MB, free: 1.805 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003822/0.4367, allocations: 1.598 MB / 493.2 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4367, allocations: 10.47 kB / 493.2 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.638e-05/0.4368, allocations: 14.44 kB / 493.2 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.4369, allocations: 109.9 kB / 493.3 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000414/0.4373, allocations: 85.73 kB / 493.4 MB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.4378, allocations: 454.9 kB / 493.9 MB, free: 368 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.4379, allocations: 47.59 kB / 493.9 MB, free: 368 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.021e-05/0.438, allocations: 66.16 kB / 494 MB, free: 368 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.4395, allocations: 0.8076 MB / 494.8 MB, free: 172 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.4395, allocations: 2.5 kB / 494.8 MB, free: 172 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/0.4396, allocations: 23.25 kB / 494.8 MB, free: 172 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.4396, allocations: 16.41 kB / 494.8 MB, free: 172 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.4412, allocations: 1.033 MB / 495.8 MB, free: 0 / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01782/0.459, allocations: 12.78 MB / 0.4967 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.4606, allocations: 0.7197 MB / 0.4974 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.4611, allocations: 385.9 kB / 0.4978 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01609/0.4772, allocations: 12.24 MB / 0.5097 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/0.4773, allocations: 46.03 kB / 0.5098 GB, free: 5.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.356e-06/0.4773, allocations: 4 kB / 0.5098 GB, free: 5.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01022/0.4875, allocations: 3.39 MB / 0.5131 GB, free: 2.406 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.4875, allocations: 63.5 kB / 0.5132 GB, free: 2.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/0.488, allocations: 356.5 kB / 0.5135 GB, free: 1.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.4881, allocations: 45.7 kB / 0.5135 GB, free: 1.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.4883, allocations: 245.1 kB / 0.5138 GB, free: 1.688 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.4886, allocations: 325.6 kB / 0.5141 GB, free: 1.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.4889, allocations: 157.7 kB / 0.5142 GB, free: 1.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.4891, allocations: 370.7 kB / 0.5146 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000656/0.4897, allocations: 369.8 kB / 0.5149 GB, free: 500 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.4907, allocations: 496.2 kB / 0.5154 GB, free: 15.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/0.4926, allocations: 0.9012 MB / 0.5163 GB, free: 15.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4926, allocations: 0 / 0.5163 GB, free: 15.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002885/0.4955, allocations: 1.117 MB / 0.5174 GB, free: 13.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.4955, allocations: 8 kB / 0.5174 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4956, allocations: 4 kB / 0.5174 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000867/0.4964, allocations: 166.7 kB / 0.5176 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008724/0.4973, allocations: 195.5 kB / 0.5177 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/0.5009, allocations: 4.111 MB / 0.5218 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005726/0.5015, allocations: 24.03 kB / 0.5218 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.5016, allocations: 43.98 kB / 0.5218 GB, free: 9.078 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004198/0.502, allocations: 219 kB / 0.522 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004303/0.5024, allocations: 71.56 kB / 0.5221 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.505, allocations: 1.286 MB / 0.5234 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.505, allocations: 8 kB / 0.5234 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.505, allocations: 0 / 0.5234 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00206/0.5071, allocations: 1.323 MB / 0.5247 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/0.5107, allocations: 1.966 MB / 0.5266 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.5108, allocations: 0 / 0.5266 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/0.5115, allocations: 165.3 kB / 0.5267 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/0.5133, allocations: 304.9 kB / 0.527 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.5134, allocations: 31.92 kB / 0.5271 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009419/0.5144, allocations: 1.284 MB / 0.5283 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5144, allocations: 0 / 0.5283 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002874/0.5173, allocations: 1.427 MB / 0.5297 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.5175, allocations: 120.8 kB / 0.5298 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.5176, allocations: 24.05 kB / 0.5298 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/0.5182, allocations: 27.98 kB / 0.5299 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.5183, allocations: 56.86 kB / 0.5299 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.5184, allocations: 43.97 kB / 0.53 GB, free: 480 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000351/0.5188, allocations: 287 kB / 0.5302 GB, free: 196 kB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5188, allocations: 0 / 0.5302 GB, free: 196 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.004285/0.523, allocations: 1.41 MB / 0.5316 GB, free: 14.78 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00975/0.5328, allocations: 3.604 MB / 0.5351 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002441/0.5352, allocations: 1.121 MB / 0.5362 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5352, allocations: 0 / 0.5362 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.5362, allocations: 477.7 kB / 0.5367 GB, free: 9.691 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.5383, allocations: 392 kB / 0.5371 GB, free: 9.312 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.5521, allocations: 7.072 MB / 0.544 GB, free: 2.094 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/0.5528, allocations: 0.9205 MB / 0.5449 GB, free: 1.145 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007832/0.5535, allocations: 201.2 kB / 0.5451 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/0.5539, allocations: 227.4 kB / 0.5453 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5539, allocations: 3.188 kB / 0.5453 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/0.66, allocations: 58.42 MB / 0.6023 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.58, allocations: 8.047 kB / 0.6023 GB, free: 6.227 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 67.10030981799355] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.Xi[1]', 'volume.medium.p', 'volume1.medium.T', 'volume1.medium.Xi[1]', 'volume1.medium.p'] 14.75909413897898 14.773867141 14.337712084 Calling exit ...