Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001275/0.001275, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.001461/0.001461, allocations: 213.8 kB / 23.48 MB, free: 5.23 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.378/1.378, allocations: 230.4 MB / 257 MB, free: 8.262 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.MoistAir1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.001903/0.001903, allocations: 67.89 kB / 377.1 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2636, allocations: 53.32 MB / 430.4 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06579/0.3294, allocations: 51.15 MB / 481.5 MB, free: 3.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007631/0.337, allocations: 5.234 MB / 486.8 MB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004045/0.3374, allocations: 4 kB / 486.8 MB, free: 14.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009942/0.3384, allocations: 270.5 kB / 487 MB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009304/0.3394, allocations: 370 kB / 487.4 MB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02037/0.3597, allocations: 7.146 MB / 494.6 MB, free: 6.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.3614, allocations: 1.091 MB / 495.6 MB, free: 5.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.3617, allocations: 105.4 kB / 495.8 MB, free: 5.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008503/0.3702, allocations: 3.632 MB / 499.4 MB, free: 2.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.3716, allocations: 430.5 kB / 499.8 MB, free: 1.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003273/0.3719, allocations: 60 kB / 499.9 MB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02943/0.4013, allocations: 10.11 MB / 0.498 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005948/0.4019, allocations: 239.4 kB / 0.4982 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008304/0.4028, allocations: 310.9 kB / 0.4985 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.4165, allocations: 5.522 MB / 0.5039 GB, free: 1.383 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4165, allocations: 0 / 0.5039 GB, free: 1.383 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4165, allocations: 0 / 0.5039 GB, free: 1.383 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.53e-05/0.4165, allocations: 0 / 0.5039 GB, free: 1.383 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003794/0.4203, allocations: 1.41 MB / 0.5053 GB, free: 15.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4204, allocations: 12.03 kB / 0.5053 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.4205, allocations: 82.53 kB / 0.5054 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003947/0.4209, allocations: 63.66 kB / 0.5055 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006387/0.4216, allocations: 367.1 kB / 0.5058 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.4216, allocations: 37 kB / 0.5058 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-05/0.4217, allocations: 47.98 kB / 0.5059 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.4231, allocations: 0.5842 MB / 0.5065 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.4231, allocations: 0 / 0.5065 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.087e-05/0.4232, allocations: 24 kB / 0.5065 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.4232, allocations: 8 kB / 0.5065 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.4246, allocations: 0.7417 MB / 0.5072 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01765/0.4422, allocations: 11.96 MB / 0.5189 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.4436, allocations: 0.5082 MB / 0.5194 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003982/0.444, allocations: 254 kB / 0.5196 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01657/0.4605, allocations: 11.88 MB / 0.5312 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.551e-05/0.4606, allocations: 39 kB / 0.5313 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 3.146e-06/0.4606, allocations: 0 / 0.5313 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006583/0.4672, allocations: 2.121 MB / 0.5334 GB, free: 14.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.4672, allocations: 59.97 kB / 0.5334 GB, free: 14.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.4677, allocations: 315 kB / 0.5337 GB, free: 14.26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.778e-05/0.4678, allocations: 37.7 kB / 0.5337 GB, free: 14.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.4679, allocations: 204.7 kB / 0.5339 GB, free: 14.02 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.4681, allocations: 198.3 kB / 0.5341 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.4683, allocations: 122.2 kB / 0.5342 GB, free: 13.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.4685, allocations: 350.8 kB / 0.5346 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.4689, allocations: 233 kB / 0.5348 GB, free: 13.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006633/0.4695, allocations: 347.3 kB / 0.5351 GB, free: 12.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.4707, allocations: 0.5995 MB / 0.5357 GB, free: 12.11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4707, allocations: 4 kB / 0.5357 GB, free: 12.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001851/0.4726, allocations: 0.7522 MB / 0.5365 GB, free: 11.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.4726, allocations: 16 kB / 0.5365 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4726, allocations: 4 kB / 0.5365 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005131/0.4731, allocations: 102.5 kB / 0.5366 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.4737, allocations: 123.9 kB / 0.5367 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/0.4767, allocations: 3.477 MB / 0.5401 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.477, allocations: 15.98 kB / 0.5401 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.436e-05/0.4771, allocations: 28 kB / 0.5401 GB, free: 7.27 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0003066/0.4774, allocations: 189.7 kB / 0.5403 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.4777, allocations: 47.7 kB / 0.5404 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.4793, allocations: 0.823 MB / 0.5412 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.4793, allocations: 4 kB / 0.5412 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.4793, allocations: 0 / 0.5412 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001232/0.4806, allocations: 0.7634 MB / 0.5419 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.4828, allocations: 1.293 MB / 0.5432 GB, free: 3.969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4828, allocations: 4.062 kB / 0.5432 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.4832, allocations: 103.8 kB / 0.5433 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009233/0.4841, allocations: 152.6 kB / 0.5434 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.4842, allocations: 16 kB / 0.5434 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000518/0.4847, allocations: 0.6446 MB / 0.5441 GB, free: 3.027 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4847, allocations: 0 / 0.5441 GB, free: 3.027 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.4865, allocations: 0.9173 MB / 0.545 GB, free: 2.086 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.4866, allocations: 116.9 kB / 0.5451 GB, free: 1.953 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.958e-05/0.4867, allocations: 12 kB / 0.5451 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.4871, allocations: 15.98 kB / 0.5451 GB, free: 1.926 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.4872, allocations: 32.39 kB / 0.5451 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/0.4872, allocations: 31.98 kB / 0.5452 GB, free: 1.863 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003225/0.4876, allocations: 253.9 kB / 0.5454 GB, free: 1.617 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4876, allocations: 4 kB / 0.5454 GB, free: 1.613 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00403/0.4916, allocations: 1.341 MB / 0.5467 GB, free: 276 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.205/0.6966, allocations: 3.052 MB / 0.5497 GB, free: 121.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.6983, allocations: 0.7817 MB / 0.5505 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6983, allocations: 0 / 0.5505 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005126/0.6988, allocations: 276.9 kB / 0.5507 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.7001, allocations: 283.3 kB / 0.551 GB, free: 121.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007099/0.7072, allocations: 5.334 MB / 0.5562 GB, free: 118.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.7074, allocations: 0.834 MB / 0.557 GB, free: 118.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004492/0.7079, allocations: 142.1 kB / 0.5572 GB, free: 118.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.7081, allocations: 156 kB / 0.5573 GB, free: 118 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.7081, allocations: 1.844 kB / 0.5573 GB, free: 118 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/0.8149, allocations: 50.8 MB / 0.6069 GB, free: 71.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.32, allocations: 4.062 kB / 0.6069 GB, free: 71.36 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.604563900036737] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.Xi[1]', 'volume.medium.p'] 15.44564390880987 15.458080005 15.038785833 Calling exit ...