Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001446/0.001446, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001505/0.001505, allocations: 219.2 kB / 22.92 MB, free: 5.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.288/1.288, allocations: 230.5 MB / 256.4 MB, free: 8.441 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 75.86 kB / 376.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2217, allocations: 53.3 MB / 429.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06686/0.2885, allocations: 66.37 MB / 495.8 MB, free: 4.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006566/0.2951, allocations: 5.515 MB / 0.4895 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.2953, allocations: 7.938 kB / 0.4896 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008956/0.2962, allocations: 361.9 kB / 0.4899 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008118/0.297, allocations: 0.5128 MB / 0.4904 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01641/0.3134, allocations: 7.472 MB / 0.4977 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00175/0.3152, allocations: 1.555 MB / 0.4992 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.3154, allocations: 144.9 kB / 0.4994 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007602/0.3162, allocations: 0.6308 MB / 0.5 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007407/0.3169, allocations: 0.6073 MB / 0.5006 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.3171, allocations: 84 kB / 0.5006 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01693/0.334, allocations: 10.4 MB / 0.5108 GB, free: 9.531 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004062/0.3344, allocations: 335.1 kB / 0.5111 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005456/0.3349, allocations: 434.4 kB / 0.5115 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.3451, allocations: 5.978 MB / 0.5174 GB, free: 2.785 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3451, allocations: 0 / 0.5174 GB, free: 2.785 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3451, allocations: 0 / 0.5174 GB, free: 2.785 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3451, allocations: 0 / 0.5174 GB, free: 2.785 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.003253/0.3484, allocations: 1.616 MB / 0.5189 GB, free: 1.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3484, allocations: 12.02 kB / 0.519 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.3486, allocations: 106.5 kB / 0.5191 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004099/0.349, allocations: 95.5 kB / 0.5191 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.3495, allocations: 441.1 kB / 0.5196 GB, free: 436 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.3496, allocations: 45.31 kB / 0.5196 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.666e-05/0.3497, allocations: 67.95 kB / 0.5197 GB, free: 324 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.3513, allocations: 0.8068 MB / 0.5205 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.3513, allocations: 3.938 kB / 0.5205 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.448e-05/0.3514, allocations: 32 kB / 0.5205 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.3514, allocations: 19.94 kB / 0.5205 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.3532, allocations: 1.024 MB / 0.5215 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01649/0.3697, allocations: 12.77 MB / 0.534 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.3713, allocations: 0.7061 MB / 0.5347 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005501/0.3718, allocations: 390.6 kB / 0.5351 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1746/0.5465, allocations: 12.23 MB / 0.547 GB, free: 123.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.5465, allocations: 44.28 kB / 0.547 GB, free: 123.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.305e-06/0.5465, allocations: 3.188 kB / 0.547 GB, free: 123.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.008695/0.5552, allocations: 3.388 MB / 0.5504 GB, free: 122.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.5552, allocations: 60.31 kB / 0.5504 GB, free: 122.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.5556, allocations: 352.6 kB / 0.5508 GB, free: 122.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.69e-05/0.5556, allocations: 48 kB / 0.5508 GB, free: 122.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.5557, allocations: 244.1 kB / 0.551 GB, free: 121.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.5559, allocations: 320.6 kB / 0.5513 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.5561, allocations: 158.9 kB / 0.5515 GB, free: 121.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.509e-05/0.5561, allocations: 363.5 kB / 0.5518 GB, free: 121.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.5566, allocations: 370.3 kB / 0.5522 GB, free: 121.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000766/0.5574, allocations: 492.8 kB / 0.5527 GB, free: 120.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.5588, allocations: 0.905 MB / 0.5535 GB, free: 120.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.5588, allocations: 0 / 0.5535 GB, free: 120.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00213/0.5609, allocations: 1.126 MB / 0.5546 GB, free: 120 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.5609, allocations: 6.688 kB / 0.5546 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5609, allocations: 3.969 kB / 0.5547 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006864/0.5616, allocations: 160.5 kB / 0.5548 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006657/0.5623, allocations: 193.7 kB / 0.555 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.564, allocations: 4.107 MB / 0.559 GB, free: 115.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.5644, allocations: 29.2 kB / 0.559 GB, free: 115.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-05/0.5644, allocations: 43.66 kB / 0.5591 GB, free: 115.8 MB / 462.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.0002635/0.5647, allocations: 225.7 kB / 0.5593 GB, free: 115.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003395/0.565, allocations: 67.58 kB / 0.5593 GB, free: 115.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.5668, allocations: 1.283 MB / 0.5606 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.5668, allocations: 7.688 kB / 0.5606 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.5668, allocations: 3.938 kB / 0.5606 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001344/0.5682, allocations: 1.324 MB / 0.5619 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.5704, allocations: 1.959 MB / 0.5638 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5704, allocations: 0 / 0.5638 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005986/0.571, allocations: 164 kB / 0.564 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.5726, allocations: 300.3 kB / 0.5643 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.5726, allocations: 25.81 kB / 0.5643 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000446/0.5731, allocations: 1.294 MB / 0.5655 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5731, allocations: 0 / 0.5655 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.575, allocations: 1.416 MB / 0.5669 GB, free: 111.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.5751, allocations: 132.9 kB / 0.5671 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.959e-05/0.5751, allocations: 22.19 kB / 0.5671 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/0.5756, allocations: 29.2 kB / 0.5671 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.5757, allocations: 53.66 kB / 0.5672 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.524e-05/0.5758, allocations: 43.48 kB / 0.5672 GB, free: 111 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.576, allocations: 284.8 kB / 0.5675 GB, free: 110.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.576, allocations: 2.297 kB / 0.5675 GB, free: 110.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00267/0.5786, allocations: 1.424 MB / 0.5689 GB, free: 109.7 MB / 462.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.006044/0.5847, allocations: 3.609 MB / 0.5724 GB, free: 106.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.5862, allocations: 1.117 MB / 0.5735 GB, free: 105.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5863, allocations: 4 kB / 0.5735 GB, free: 105.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006478/0.5869, allocations: 479.1 kB / 0.5739 GB, free: 104.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.5885, allocations: 396.5 kB / 0.5743 GB, free: 104.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008375/0.5969, allocations: 7.085 MB / 0.5812 GB, free: 97.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.5972, allocations: 0.9128 MB / 0.5821 GB, free: 96.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006164/0.5978, allocations: 204.8 kB / 0.5823 GB, free: 95.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.598, allocations: 227.4 kB / 0.5825 GB, free: 95.76 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.598, allocations: 0 / 0.5825 GB, free: 95.76 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07753/0.6756, allocations: 57.3 MB / 0.6385 GB, free: 38.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.54, allocations: 15.98 kB / 0.6385 GB, free: 38.65 MB / 462.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.673465769003087]