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.001647/0.001647, allocations: 116.8 kB / 18.5 MB, free: 4.539 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.001798/0.001798, allocations: 212.9 kB / 21.46 MB, free: 1.59 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.435/1.435, allocations: 230.5 MB / 254.8 MB, free: 15.07 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.001964/0.001964, allocations: 71.83 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.1019, allocations: 53.33 MB / 427 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2648/0.3668, allocations: 66 MB / 493 MB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008071/0.3748, allocations: 5.482 MB / 498.5 MB, free: 8.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006427/0.3755, allocations: 10.81 kB / 498.5 MB, free: 8.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.3767, allocations: 369.2 kB / 498.9 MB, free: 8.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.378, allocations: 0.5117 MB / 499.4 MB, free: 7.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0243/0.4022, allocations: 7.468 MB / 0.495 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002293/0.4045, allocations: 1.547 MB / 0.4965 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.4049, allocations: 160.9 kB / 0.4966 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.4059, allocations: 0.6425 MB / 0.4973 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008247/0.4068, allocations: 0.5995 MB / 0.4978 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.4069, allocations: 84 kB / 0.4979 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02061/0.4275, allocations: 10.41 MB / 0.5081 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005045/0.428, allocations: 331.1 kB / 0.5084 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007286/0.4287, allocations: 438.4 kB / 0.5088 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01553/0.4443, allocations: 5.974 MB / 0.5147 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.4443, allocations: 0 / 0.5147 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4443, allocations: 0 / 0.5147 GB, free: 12.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.4443, allocations: 0 / 0.5147 GB, free: 12.79 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.005102/0.4494, allocations: 1.616 MB / 0.5162 GB, free: 11.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.4494, allocations: 8.031 kB / 0.5162 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.4496, allocations: 110.5 kB / 0.5164 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004916/0.4501, allocations: 95.5 kB / 0.5164 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000703/0.4508, allocations: 441.9 kB / 0.5169 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.278e-05/0.4508, allocations: 49.31 kB / 0.5169 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.451, allocations: 75.89 kB / 0.517 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.4528, allocations: 0.8068 MB / 0.5178 GB, free: 9.492 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.4528, allocations: 4 kB / 0.5178 GB, free: 9.488 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.296e-05/0.4529, allocations: 24 kB / 0.5178 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.4529, allocations: 19.94 kB / 0.5178 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.4548, allocations: 1.032 MB / 0.5188 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0191/0.4739, allocations: 12.77 MB / 0.5313 GB, free: 9.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.4757, allocations: 0.7138 MB / 0.532 GB, free: 8.773 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/0.4763, allocations: 382.6 kB / 0.5324 GB, free: 8.398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01642/0.4928, allocations: 12.24 MB / 0.5443 GB, free: 9.777 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.4928, allocations: 44.22 kB / 0.5444 GB, free: 9.727 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.455e-06/0.4928, allocations: 0 / 0.5444 GB, free: 9.727 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.009921/0.5027, allocations: 3.382 MB / 0.5477 GB, free: 6.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.5028, allocations: 68.41 kB / 0.5477 GB, free: 6.191 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.5032, allocations: 348.5 kB / 0.5481 GB, free: 5.844 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.375e-05/0.5033, allocations: 45.7 kB / 0.5481 GB, free: 5.793 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.5035, allocations: 245.2 kB / 0.5483 GB, free: 5.551 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.5038, allocations: 321.2 kB / 0.5486 GB, free: 5.234 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/0.5041, allocations: 162.6 kB / 0.5488 GB, free: 5.066 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.5043, allocations: 362.8 kB / 0.5491 GB, free: 4.703 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006379/0.5049, allocations: 369.8 kB / 0.5495 GB, free: 4.344 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009702/0.5059, allocations: 0.4885 MB / 0.55 GB, free: 3.824 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.5077, allocations: 0.8943 MB / 0.5508 GB, free: 2.898 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5077, allocations: 4 kB / 0.5508 GB, free: 2.895 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002655/0.5103, allocations: 1.121 MB / 0.5519 GB, free: 1.754 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5103, allocations: 4 kB / 0.5519 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.5103, allocations: 4 kB / 0.5519 GB, free: 1.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000853/0.5112, allocations: 171.5 kB / 0.5521 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/0.512, allocations: 187.8 kB / 0.5523 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003406/0.5154, allocations: 4.121 MB / 0.5563 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.5158, allocations: 20 kB / 0.5563 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.5159, allocations: 43.98 kB / 0.5564 GB, free: 12.88 MB / 478.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.0003873/0.5163, allocations: 229.6 kB / 0.5566 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003948/0.5167, allocations: 59.67 kB / 0.5567 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/0.5192, allocations: 1.288 MB / 0.5579 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.5192, allocations: 8 kB / 0.5579 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.5192, allocations: 0 / 0.5579 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00199/0.5212, allocations: 1.316 MB / 0.5592 GB, free: 9.805 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.5246, allocations: 1.96 MB / 0.5611 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5246, allocations: 0 / 0.5611 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/0.5253, allocations: 167.7 kB / 0.5613 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/0.5271, allocations: 293.3 kB / 0.5616 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.77e-05/0.5271, allocations: 31.98 kB / 0.5616 GB, free: 7.289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009413/0.5281, allocations: 1.285 MB / 0.5628 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5281, allocations: 4.031 kB / 0.5628 GB, free: 5.953 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/0.5308, allocations: 1.426 MB / 0.5642 GB, free: 4.496 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.531, allocations: 128.7 kB / 0.5644 GB, free: 4.352 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-05/0.5311, allocations: 28 kB / 0.5644 GB, free: 4.324 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005184/0.5316, allocations: 35.95 kB / 0.5644 GB, free: 4.289 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.5317, allocations: 52.92 kB / 0.5645 GB, free: 4.238 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.226e-05/0.5318, allocations: 48.09 kB / 0.5645 GB, free: 4.191 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000353/0.5321, allocations: 283 kB / 0.5648 GB, free: 3.918 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5322, allocations: 0 / 0.5648 GB, free: 3.918 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003995/0.5361, allocations: 1.427 MB / 0.5662 GB, free: 2.488 MB / 478.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.008877/0.545, allocations: 3.594 MB / 0.5697 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002288/0.5473, allocations: 1.105 MB / 0.5708 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5473, allocations: 0 / 0.5708 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009582/0.5483, allocations: 483.1 kB / 0.5712 GB, free: 13.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.5502, allocations: 390.4 kB / 0.5716 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.5631, allocations: 7.078 MB / 0.5785 GB, free: 5.586 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006032/0.5637, allocations: 0.9089 MB / 0.5794 GB, free: 4.648 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007432/0.5644, allocations: 209.2 kB / 0.5796 GB, free: 4.441 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.5648, allocations: 223.4 kB / 0.5798 GB, free: 4.223 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5648, allocations: 0 / 0.5798 GB, free: 4.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3312/0.896, allocations: 57.15 MB / 0.6356 GB, free: 148.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.47, allocations: 9.312 kB / 0.6356 GB, free: 148.6 MB / 0.5137 GB " [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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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: 17.9968536850065] 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.600902105681598 15.619375754 15.17130249 Calling exit ...