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.001846/0.001846, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002269/0.002269, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.397/1.397, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.001911/0.001911, allocations: 64.77 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2588, allocations: 53.38 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07725/0.336, allocations: 66.38 MB / 498.3 MB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007922/0.344, allocations: 5.515 MB / 0.492 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004833/0.3444, allocations: 11.94 kB / 0.492 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.3456, allocations: 361.9 kB / 0.4924 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.3468, allocations: 0.5089 MB / 0.4929 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01921/0.366, allocations: 7.536 MB / 0.5002 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002222/0.3682, allocations: 1.575 MB / 0.5018 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.3686, allocations: 153.4 kB / 0.5019 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.3698, allocations: 0.6347 MB / 0.5025 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.371, allocations: 0.6073 MB / 0.5031 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.3712, allocations: 80 kB / 0.5032 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02109/0.3923, allocations: 10.47 MB / 0.5134 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007266/0.393, allocations: 339.1 kB / 0.5138 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009145/0.3939, allocations: 434.5 kB / 0.5142 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.4087, allocations: 5.974 MB / 0.52 GB, free: 2.023 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4087, allocations: 0 / 0.52 GB, free: 2.023 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4087, allocations: 3.938 kB / 0.52 GB, free: 2.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.071e-05/0.4087, allocations: 0 / 0.52 GB, free: 2.02 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.003792/0.4125, allocations: 1.545 MB / 0.5215 GB, free: 448 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4126, allocations: 8.031 kB / 0.5215 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.4127, allocations: 106.5 kB / 0.5216 GB, free: 324 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004376/0.4131, allocations: 99.5 kB / 0.5217 GB, free: 224 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.4138, allocations: 383.3 kB / 0.5221 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.4138, allocations: 45.31 kB / 0.5221 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.4139, allocations: 63.95 kB / 0.5222 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.4157, allocations: 0.8107 MB / 0.523 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.4157, allocations: 7.938 kB / 0.523 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.32e-05/0.4158, allocations: 32 kB / 0.523 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.4158, allocations: 12 kB / 0.523 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.4178, allocations: 1.04 MB / 0.524 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/0.4318, allocations: 4.973 MB / 0.5289 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.4335, allocations: 0.7112 MB / 0.5296 GB, free: 7.895 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/0.4341, allocations: 387.2 kB / 0.53 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.4444, allocations: 2.596 MB / 0.5325 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.4444, allocations: 51.2 kB / 0.5325 GB, free: 4.855 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.355e-06/0.4444, allocations: 0 / 0.5325 GB, free: 4.855 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009523/0.4539, allocations: 3.146 MB / 0.5356 GB, free: 1.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.454, allocations: 68.41 kB / 0.5357 GB, free: 1.598 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.4544, allocations: 360.5 kB / 0.536 GB, free: 1.242 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.732e-05/0.4545, allocations: 41.7 kB / 0.5361 GB, free: 1.195 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.4547, allocations: 241.2 kB / 0.5363 GB, free: 0.957 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.455, allocations: 317.2 kB / 0.5366 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.4552, allocations: 170.6 kB / 0.5368 GB, free: 484 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4554, allocations: 362.7 kB / 0.5371 GB, free: 112 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1955/0.6508, allocations: 370.6 kB / 0.5375 GB, free: 106.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/0.6528, allocations: 489.7 kB / 0.5379 GB, free: 106.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/0.6556, allocations: 0.9092 MB / 0.5388 GB, free: 106 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.6556, allocations: 1.156 kB / 0.5388 GB, free: 106 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003984/0.6596, allocations: 1.11 MB / 0.5399 GB, free: 105.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.6596, allocations: 13.53 kB / 0.5399 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.6596, allocations: 5.562 kB / 0.5399 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.6609, allocations: 167.2 kB / 0.5401 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.662, allocations: 191.2 kB / 0.5403 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.6647, allocations: 3.903 MB / 0.5441 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/0.6653, allocations: 22.98 kB / 0.5441 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.6654, allocations: 44.38 kB / 0.5441 GB, free: 101.7 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.0004517/0.6659, allocations: 232.5 kB / 0.5444 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006748/0.6666, allocations: 65.28 kB / 0.5444 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003532/0.6701, allocations: 1.277 MB / 0.5457 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.6701, allocations: 8.25 kB / 0.5457 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6701, allocations: 1.375 kB / 0.5457 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002492/0.6726, allocations: 1.327 MB / 0.547 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004336/0.6769, allocations: 1.938 MB / 0.5489 GB, free: 99.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.6769, allocations: 3.703 kB / 0.5489 GB, free: 99.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007126/0.6777, allocations: 166.4 kB / 0.549 GB, free: 99.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.6793, allocations: 295.7 kB / 0.5493 GB, free: 99.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/0.6794, allocations: 28.36 kB / 0.5493 GB, free: 99.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004805/0.6798, allocations: 1.297 MB / 0.5506 GB, free: 97.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6798, allocations: 0 / 0.5506 GB, free: 97.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.682, allocations: 1.413 MB / 0.552 GB, free: 97.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.6822, allocations: 51.22 kB / 0.552 GB, free: 97.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.6823, allocations: 26.2 kB / 0.5521 GB, free: 97.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005364/0.6828, allocations: 31.36 kB / 0.5521 GB, free: 97.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/0.6829, allocations: 55.41 kB / 0.5521 GB, free: 97.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.06e-05/0.683, allocations: 47.17 kB / 0.5522 GB, free: 97.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002635/0.6832, allocations: 283.1 kB / 0.5525 GB, free: 96.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6832, allocations: 0 / 0.5525 GB, free: 96.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003356/0.6866, allocations: 1.423 MB / 0.5538 GB, free: 96.81 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.007568/0.6942, allocations: 3.591 MB / 0.5574 GB, free: 95.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.6961, allocations: 1.116 MB / 0.5584 GB, free: 94.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6961, allocations: 0 / 0.5584 GB, free: 94.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007629/0.6969, allocations: 479.7 kB / 0.5589 GB, free: 93.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.6985, allocations: 386.2 kB / 0.5593 GB, free: 93.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009985/0.7085, allocations: 7.087 MB / 0.5662 GB, free: 86.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.7088, allocations: 0.9128 MB / 0.5671 GB, free: 85.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006799/0.7095, allocations: 206.4 kB / 0.5673 GB, free: 85.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.7098, allocations: 223.4 kB / 0.5675 GB, free: 84.82 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.7098, allocations: 0 / 0.5675 GB, free: 84.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0941/0.8039, allocations: 57.78 MB / 0.6239 GB, free: 27.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.7, allocations: 18.58 kB / 0.6239 GB, free: 27.24 MB / 446.1 MB " [Timeout remaining time 644] (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 --stepSize=0.000201919 --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: 18.049533027224243] 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.844583415891975 15.854807765 15.443681135 Calling exit ...