Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 191.4 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 225.7 MB / 253.3 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 47.92 kB / 371.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2146, allocations: 52.19 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06959/0.2841, allocations: 58.79 MB / 482.2 MB, free: 3.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007212/0.2914, allocations: 4.959 MB / 487.1 MB, free: 14.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004503/0.2918, allocations: 11.94 kB / 487.1 MB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.2929, allocations: 330 kB / 487.5 MB, free: 14.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.2942, allocations: 0.5167 MB / 488 MB, free: 13.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01837/0.3126, allocations: 7.438 MB / 495.4 MB, free: 6.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.3147, allocations: 1.567 MB / 497 MB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.315, allocations: 157.4 kB / 497.1 MB, free: 4.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.3164, allocations: 0.6464 MB / 497.8 MB, free: 3.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.3176, allocations: 0.6111 MB / 498.4 MB, free: 3.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.3178, allocations: 80 kB / 498.5 MB, free: 3.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01727/0.3351, allocations: 9.831 MB / 0.4964 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004869/0.3356, allocations: 327.1 kB / 0.4967 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005781/0.3362, allocations: 382.8 kB / 0.4971 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.3483, allocations: 5.873 MB / 0.5028 GB, free: 2.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3483, allocations: 0 / 0.5028 GB, free: 2.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3483, allocations: 0 / 0.5028 GB, free: 2.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.284e-05/0.3483, allocations: 0 / 0.5028 GB, free: 2.625 MB / 414.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.003608/0.3519, allocations: 1.522 MB / 0.5043 GB, free: 1.066 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.352, allocations: 8.031 kB / 0.5043 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.104e-05/0.352, allocations: 21.31 kB / 0.5043 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.3521, allocations: 106.5 kB / 0.5044 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004314/0.3526, allocations: 95.5 kB / 0.5045 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006563/0.3532, allocations: 383.2 kB / 0.5049 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.3533, allocations: 49.31 kB / 0.5049 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.3534, allocations: 64 kB / 0.505 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.3554, allocations: 1.216 MB / 0.5062 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.3554, allocations: 0 / 0.5062 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.088e-05/0.3555, allocations: 28 kB / 0.5062 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.3555, allocations: 16 kB / 0.5062 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.3574, allocations: 1.043 MB / 0.5072 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01423/0.3716, allocations: 4.147 MB / 0.5113 GB, free: 9.711 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.3735, allocations: 0.7149 MB / 0.512 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006412/0.3742, allocations: 378.7 kB / 0.5123 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01099/0.3852, allocations: 2.631 MB / 0.5149 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.617e-05/0.3852, allocations: 43.2 kB / 0.5149 GB, free: 5.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 3.246e-06/0.3852, allocations: 4.312 kB / 0.5149 GB, free: 5.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.01041/0.3957, allocations: 3.155 MB / 0.518 GB, free: 2.746 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.3957, allocations: 60.41 kB / 0.5181 GB, free: 2.672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.3961, allocations: 356.5 kB / 0.5184 GB, free: 2.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.3963, allocations: 41.7 kB / 0.5185 GB, free: 2.273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.3964, allocations: 245.2 kB / 0.5187 GB, free: 2.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/0.3967, allocations: 321.2 kB / 0.519 GB, free: 1.715 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.397, allocations: 158.6 kB / 0.5192 GB, free: 1.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3972, allocations: 370.8 kB / 0.5195 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006433/0.3979, allocations: 373.8 kB / 0.5199 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009724/0.3988, allocations: 492.2 kB / 0.5203 GB, free: 312 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.4007, allocations: 0.8943 MB / 0.5212 GB, free: 15.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4007, allocations: 4 kB / 0.5212 GB, free: 15.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002783/0.4035, allocations: 1.129 MB / 0.5223 GB, free: 14.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.4035, allocations: 4 kB / 0.5223 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.4035, allocations: 4 kB / 0.5223 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009121/0.4044, allocations: 171.5 kB / 0.5225 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008005/0.4052, allocations: 191.7 kB / 0.5227 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/0.4085, allocations: 3.907 MB / 0.5265 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004689/0.409, allocations: 20 kB / 0.5265 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.4091, allocations: 39.98 kB / 0.5265 GB, free: 9.605 MB / 446.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.0004214/0.4095, allocations: 233 kB / 0.5268 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004665/0.41, allocations: 75.55 kB / 0.5268 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.4125, allocations: 1.281 MB / 0.5281 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.4125, allocations: 11.98 kB / 0.5281 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4125, allocations: 0 / 0.5281 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001921/0.4145, allocations: 1.32 MB / 0.5294 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003531/0.418, allocations: 1.803 MB / 0.5312 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.418, allocations: 0 / 0.5312 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007041/0.4187, allocations: 159.8 kB / 0.5313 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/0.4205, allocations: 309.3 kB / 0.5316 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.418e-05/0.4206, allocations: 27.98 kB / 0.5316 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000895/0.4215, allocations: 1.289 MB / 0.5329 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4215, allocations: 4.031 kB / 0.5329 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.4243, allocations: 1.414 MB / 0.5343 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.4244, allocations: 55.91 kB / 0.5343 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.4246, allocations: 20 kB / 0.5343 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/0.4251, allocations: 31.97 kB / 0.5344 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.4252, allocations: 64.83 kB / 0.5344 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.4253, allocations: 43.97 kB / 0.5345 GB, free: 1.172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003466/0.4257, allocations: 279 kB / 0.5347 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4257, allocations: 4 kB / 0.5347 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.1883/0.614, allocations: 1.408 MB / 0.5361 GB, free: 114.4 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.008491/0.6225, allocations: 3.608 MB / 0.5396 GB, free: 113.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.6246, allocations: 1.103 MB / 0.5407 GB, free: 113.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.6246, allocations: 4.844 kB / 0.5407 GB, free: 113.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007941/0.6254, allocations: 479.7 kB / 0.5412 GB, free: 113 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.6271, allocations: 386.2 kB / 0.5416 GB, free: 113 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009518/0.6366, allocations: 7.084 MB / 0.5485 GB, free: 108.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.6368, allocations: 306.3 kB / 0.5488 GB, free: 108.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006781/0.6375, allocations: 210.2 kB / 0.549 GB, free: 108.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.6378, allocations: 229.8 kB / 0.5492 GB, free: 108.1 MB / 446.1 MB Notification: Performance of SimCode: time 9.61e-07/0.6378, allocations: 0 / 0.5492 GB, free: 108.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08593/0.7238, allocations: 58.93 MB / 0.6067 GB, free: 50.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.62, allocations: 13.03 kB / 0.6067 GB, free: 50.08 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 68.11373257392552] 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'] 15.827929266961291 15.847106164 15.494913249 Calling exit ...