Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001645/0.001645, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 63.91 kB / 378.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2344, allocations: 53.41 MB / 431.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06694/0.3014, allocations: 58.92 MB / 490.8 MB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006612/0.308, allocations: 4.959 MB / 495.8 MB, free: 6.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003461/0.3083, allocations: 7.938 kB / 495.8 MB, free: 6.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.3093, allocations: 338 kB / 496.1 MB, free: 6.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.3103, allocations: 0.5166 MB / 496.7 MB, free: 5.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0187/0.329, allocations: 7.457 MB / 0.4923 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.331, allocations: 1.575 MB / 0.4938 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.3313, allocations: 145.4 kB / 0.494 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008665/0.3321, allocations: 0.6502 MB / 0.4946 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000834/0.333, allocations: 0.6034 MB / 0.4952 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.3331, allocations: 84 kB / 0.4953 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01738/0.3505, allocations: 9.868 MB / 0.5049 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005076/0.351, allocations: 331.2 kB / 0.5052 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006224/0.3516, allocations: 382.7 kB / 0.5056 GB, free: 420 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.3648, allocations: 5.877 MB / 0.5113 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3648, allocations: 0 / 0.5113 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3648, allocations: 4 kB / 0.5113 GB, free: 10.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.3648, allocations: 0 / 0.5113 GB, free: 10.52 MB / 430.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.00392/0.3688, allocations: 1.525 MB / 0.5128 GB, free: 8.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3688, allocations: 8.031 kB / 0.5128 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.948e-05/0.3688, allocations: 21.31 kB / 0.5129 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.369, allocations: 114.4 kB / 0.513 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004306/0.3694, allocations: 91.5 kB / 0.5131 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/0.3701, allocations: 375.3 kB / 0.5134 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.3701, allocations: 49.25 kB / 0.5135 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.3702, allocations: 63.95 kB / 0.5135 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.3722, allocations: 1.227 MB / 0.5147 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.3722, allocations: 0 / 0.5147 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-05/0.3723, allocations: 28 kB / 0.5147 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.3723, allocations: 19.98 kB / 0.5148 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.3742, allocations: 1.036 MB / 0.5158 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/0.3877, allocations: 4.147 MB / 0.5198 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.3895, allocations: 0.7034 MB / 0.5205 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/0.3901, allocations: 383.6 kB / 0.5209 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/0.4009, allocations: 2.616 MB / 0.5234 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.083e-05/0.401, allocations: 43.22 kB / 0.5235 GB, free: 13.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.715e-06/0.401, allocations: 0 / 0.5235 GB, free: 13.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01022/0.4112, allocations: 3.159 MB / 0.5266 GB, free: 10.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.4113, allocations: 64.34 kB / 0.5266 GB, free: 10.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.4118, allocations: 356.5 kB / 0.527 GB, free: 10.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-05/0.4119, allocations: 49.7 kB / 0.527 GB, free: 10.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.4121, allocations: 245.1 kB / 0.5272 GB, free: 9.926 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.4123, allocations: 317.2 kB / 0.5275 GB, free: 9.613 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/0.4126, allocations: 166.6 kB / 0.5277 GB, free: 9.445 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.4128, allocations: 362.8 kB / 0.5281 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/0.4135, allocations: 373.8 kB / 0.5284 GB, free: 8.715 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.4145, allocations: 496.2 kB / 0.5289 GB, free: 8.199 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.4163, allocations: 0.8981 MB / 0.5298 GB, free: 7.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4163, allocations: 4 kB / 0.5298 GB, free: 7.266 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002714/0.4191, allocations: 1.117 MB / 0.5309 GB, free: 6.125 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.4191, allocations: 11.98 kB / 0.5309 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.4191, allocations: 0 / 0.5309 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008669/0.42, allocations: 171.5 kB / 0.531 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007646/0.4207, allocations: 191.7 kB / 0.5312 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003386/0.4241, allocations: 3.898 MB / 0.535 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004774/0.4246, allocations: 24.03 kB / 0.535 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.4247, allocations: 43.98 kB / 0.5351 GB, free: 1.504 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.0004347/0.4251, allocations: 229 kB / 0.5353 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/0.4255, allocations: 67.61 kB / 0.5354 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1878/0.6134, allocations: 1.27 MB / 0.5366 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/0.6134, allocations: 8.188 kB / 0.5366 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6134, allocations: 1.266 kB / 0.5366 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002323/0.6157, allocations: 1.325 MB / 0.5379 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.6187, allocations: 1.8 MB / 0.5397 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.6188, allocations: 2.891 kB / 0.5397 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006929/0.6194, allocations: 161.8 kB / 0.5398 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/0.6212, allocations: 305.6 kB / 0.5401 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.104e-05/0.6213, allocations: 27.56 kB / 0.5401 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005189/0.6218, allocations: 1.289 MB / 0.5414 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6218, allocations: 4.5 kB / 0.5414 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.6242, allocations: 1.416 MB / 0.5428 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.6243, allocations: 51.19 kB / 0.5428 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.6244, allocations: 20.2 kB / 0.5429 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005208/0.6249, allocations: 33.8 kB / 0.5429 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.6251, allocations: 69.27 kB / 0.543 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.664e-05/0.6252, allocations: 45.08 kB / 0.543 GB, free: 103.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002968/0.6254, allocations: 280 kB / 0.5433 GB, free: 103.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6254, allocations: 0 / 0.5433 GB, free: 103.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0032/0.6286, allocations: 1.426 MB / 0.5447 GB, free: 103.2 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.007468/0.6361, allocations: 3.593 MB / 0.5482 GB, free: 101.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.6379, allocations: 1.108 MB / 0.5492 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6379, allocations: 3.938 kB / 0.5492 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007321/0.6387, allocations: 483.8 kB / 0.5497 GB, free: 101.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.6403, allocations: 394 kB / 0.5501 GB, free: 100.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009343/0.6497, allocations: 7.082 MB / 0.557 GB, free: 94.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.6499, allocations: 311.2 kB / 0.5573 GB, free: 94.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006465/0.6505, allocations: 209.3 kB / 0.5575 GB, free: 93.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.6508, allocations: 231.3 kB / 0.5577 GB, free: 93.73 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6508, allocations: 0 / 0.5577 GB, free: 93.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08228/0.7331, allocations: 59.1 MB / 0.6154 GB, free: 34.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.71, allocations: 12.05 kB / 0.6154 GB, free: 34.89 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 68.21251423901413] 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.912428486044519 15.928953671 15.560781665 Calling exit ...