Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001572/0.001572, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001502/0.001502, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 8.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.MoistAir,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir",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.002004/0.002004, allocations: 64.77 kB / 378.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.262, allocations: 53.36 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03708/0.2991, allocations: 26.89 MB / 458.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.3026, allocations: 2.263 MB / 461.1 MB, free: 9.648 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3027, allocations: 3.938 kB / 461.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.3031, allocations: 59.64 kB / 461.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.3036, allocations: 171 kB / 461.3 MB, free: 9.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01801/0.3216, allocations: 6.591 MB / 467.9 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006538/0.3222, allocations: 334.7 kB / 468.2 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.3223, allocations: 5.75 kB / 468.2 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.3226, allocations: 151.5 kB / 468.4 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.3228, allocations: 135.5 kB / 468.5 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.3229, allocations: 12 kB / 468.5 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0196/0.3425, allocations: 9.698 MB / 478.2 MB, free: 8.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.3426, allocations: 75.72 kB / 478.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.3428, allocations: 107.6 kB / 478.4 MB, free: 8.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.3552, allocations: 4.743 MB / 483.1 MB, free: 3.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3552, allocations: 0 / 483.1 MB, free: 3.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3552, allocations: 0 / 483.1 MB, free: 3.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3552, allocations: 0 / 483.1 MB, free: 3.559 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003701/0.3589, allocations: 1.102 MB / 484.2 MB, free: 2.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.359, allocations: 8.031 kB / 484.2 MB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.463e-05/0.3591, allocations: 62.67 kB / 484.3 MB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.3592, allocations: 28.03 kB / 484.3 MB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.3595, allocations: 167.6 kB / 484.5 MB, free: 2.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3595, allocations: 16.33 kB / 484.5 MB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.3596, allocations: 19.89 kB / 484.5 MB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007814/0.3604, allocations: 285.4 kB / 484.8 MB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3604, allocations: 11.98 kB / 484.8 MB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.3604, allocations: 11.98 kB / 484.8 MB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.3604, allocations: 11.94 kB / 484.8 MB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000826/0.3613, allocations: 311.7 kB / 485.1 MB, free: 1.461 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.3629, allocations: 0.7965 MB / 485.9 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007432/0.3637, allocations: 245.1 kB / 486.2 MB, free: 340 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.364, allocations: 125.6 kB / 486.3 MB, free: 208 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.3756, allocations: 2.671 MB / 489 MB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.3756, allocations: 34.55 kB / 489 MB, free: 13.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.934e-06/0.3756, allocations: 0 / 489 MB, free: 13.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003004/0.3786, allocations: 0.7036 MB / 489.7 MB, free: 12.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.3787, allocations: 81.11 kB / 489.8 MB, free: 12.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3788, allocations: 141.8 kB / 489.9 MB, free: 12.53 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.3789, allocations: 33.7 kB / 490 MB, free: 12.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/0.379, allocations: 116.9 kB / 490.1 MB, free: 12.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.3791, allocations: 134.8 kB / 490.2 MB, free: 12.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.3792, allocations: 73.58 kB / 490.3 MB, free: 12.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3794, allocations: 338.8 kB / 490.6 MB, free: 11.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/0.3798, allocations: 131.9 kB / 490.7 MB, free: 11.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/0.3803, allocations: 215.5 kB / 490.9 MB, free: 11.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009678/0.3813, allocations: 365.2 kB / 491.3 MB, free: 11.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3813, allocations: 0 / 491.3 MB, free: 11.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001222/0.3825, allocations: 424.3 kB / 491.7 MB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3825, allocations: 4 kB / 491.7 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3825, allocations: 4 kB / 491.7 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.3826, allocations: 7.938 kB / 491.7 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/0.383, allocations: 87.88 kB / 491.8 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.3831, allocations: 4 kB / 491.8 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.3834, allocations: 28.19 kB / 491.8 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.3834, allocations: 19.98 kB / 491.9 MB, free: 10.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.3836, allocations: 145.7 kB / 492 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.3838, allocations: 23.86 kB / 492 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005308/0.3843, allocations: 197.4 kB / 492.2 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.3843, allocations: 4 kB / 492.2 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.3843, allocations: 4 kB / 492.2 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3843, allocations: 3.984 kB / 492.2 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.3862, allocations: 0.7536 MB / 493 MB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3862, allocations: 4.156 kB / 493 MB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.3866, allocations: 79.89 kB / 493.1 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3866, allocations: 0 / 493.1 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.3867, allocations: 19.98 kB / 493.1 MB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.3867, allocations: 4 kB / 493.1 MB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3867, allocations: 7.875 kB / 493.1 MB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.3883, allocations: 0.7263 MB / 493.8 MB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.3885, allocations: 43.86 kB / 493.9 MB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.3885, allocations: 4 kB / 493.9 MB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.3889, allocations: 23.97 kB / 493.9 MB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.3889, allocations: 39.89 kB / 493.9 MB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.389, allocations: 15.98 kB / 494 MB, free: 8.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.808e-05/0.3891, allocations: 113.5 kB / 494.1 MB, free: 8.191 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3891, allocations: 0 / 494.1 MB, free: 8.191 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002973/0.392, allocations: 0.9628 MB / 495 MB, free: 7.227 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006862/0.3989, allocations: 2.4 MB / 497.4 MB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.4001, allocations: 332 kB / 497.8 MB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.4001, allocations: 4 kB / 497.8 MB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.4006, allocations: 167.8 kB / 497.9 MB, free: 4.289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007851/0.4014, allocations: 104.1 kB / 498 MB, free: 4.188 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007021/0.4084, allocations: 3.246 MB / 0.4895 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.4089, allocations: 0.7413 MB / 0.4902 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004131/0.4093, allocations: 86.38 kB / 0.4903 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.4095, allocations: 75.39 kB / 0.4904 GB, free: 15.86 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4095, allocations: 0 / 0.4904 GB, free: 15.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07618/0.4857, allocations: 33.36 MB / 0.523 GB, free: 14.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.837/10.32, allocations: 6.141 kB / 0.523 GB, free: 14.6 MB / 446.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.763298640958965] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 10.413037015125155 10.430546369 10.071554553 Calling exit ...