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.001668/0.001668, 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.001616/0.001616, allocations: 213.2 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.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.002069/0.002069, allocations: 68.94 kB / 378.5 MB, free: 3.242 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2544, allocations: 53.38 MB / 431.9 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03427/0.2887, allocations: 26.88 MB / 458.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003067/0.2918, allocations: 2.263 MB / 461.1 MB, free: 9.941 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.715e-05/0.2919, allocations: 0 / 461.1 MB, free: 9.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.2923, allocations: 67.58 kB / 461.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004264/0.2927, allocations: 171 kB / 461.3 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01681/0.3095, allocations: 6.576 MB / 467.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005951/0.3101, allocations: 342.7 kB / 468.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.653e-05/0.3102, allocations: 9.75 kB / 468.2 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.3104, allocations: 147.5 kB / 468.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.3107, allocations: 127.5 kB / 468.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.436e-05/0.3107, allocations: 12 kB / 468.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01943/0.3302, allocations: 9.709 MB / 478.2 MB, free: 8.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.3303, allocations: 71.77 kB / 478.3 MB, free: 8.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.3305, allocations: 99.59 kB / 478.4 MB, free: 8.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.3429, allocations: 4.751 MB / 483.1 MB, free: 3.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3429, allocations: 0 / 483.1 MB, free: 3.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3429, allocations: 0 / 483.1 MB, free: 3.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.3429, allocations: 0 / 483.1 MB, free: 3.852 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.003441/0.3463, allocations: 1.105 MB / 484.2 MB, free: 2.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3464, allocations: 8.031 kB / 484.2 MB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.45e-05/0.3465, allocations: 50.73 kB / 484.3 MB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.3466, allocations: 28.03 kB / 484.3 MB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.3469, allocations: 167.5 kB / 484.5 MB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.3469, allocations: 12.33 kB / 484.5 MB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.347, allocations: 15.95 kB / 484.5 MB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007398/0.3477, allocations: 293.4 kB / 484.8 MB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3477, allocations: 3.938 kB / 484.8 MB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.3477, allocations: 8 kB / 484.8 MB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/0.3478, allocations: 19.86 kB / 484.8 MB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009055/0.3487, allocations: 311.7 kB / 485.1 MB, free: 1.766 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.001617/0.3503, allocations: 0.8004 MB / 485.9 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007265/0.351, allocations: 245.2 kB / 486.2 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.3514, allocations: 129.6 kB / 486.3 MB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.3624, allocations: 2.667 MB / 489 MB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.3625, allocations: 42.5 kB / 489 MB, free: 13.78 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.464e-06/0.3625, allocations: 0 / 489 MB, free: 13.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002894/0.3654, allocations: 0.7049 MB / 489.7 MB, free: 13.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.3654, allocations: 81.11 kB / 489.8 MB, free: 12.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.3656, allocations: 141.8 kB / 489.9 MB, free: 12.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.3656, allocations: 33.7 kB / 490 MB, free: 12.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/0.3657, allocations: 112.9 kB / 490.1 MB, free: 12.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.3658, allocations: 142.8 kB / 490.2 MB, free: 12.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.3659, allocations: 73.64 kB / 490.3 MB, free: 12.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3661, allocations: 338.7 kB / 490.6 MB, free: 12.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.3664, allocations: 127.9 kB / 490.7 MB, free: 11.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/0.3669, allocations: 211.6 kB / 490.9 MB, free: 11.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009246/0.3679, allocations: 368.1 kB / 491.3 MB, free: 11.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3679, allocations: 0 / 491.3 MB, free: 11.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001174/0.369, allocations: 428.1 kB / 491.7 MB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3691, allocations: 4 kB / 491.7 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3691, allocations: 4 kB / 491.7 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.3691, allocations: 7.938 kB / 491.7 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.3696, allocations: 91.81 kB / 491.8 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.3696, allocations: 8 kB / 491.8 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.3699, allocations: 28.19 kB / 491.9 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.3699, allocations: 16 kB / 491.9 MB, free: 10.79 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.0001537/0.3701, allocations: 145.7 kB / 492 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.3702, allocations: 23.86 kB / 492 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.3707, allocations: 201.3 kB / 492.2 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.3707, allocations: 4 kB / 492.2 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3707, allocations: 0 / 492.2 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3707, allocations: 3.984 kB / 492.2 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.3725, allocations: 0.7431 MB / 493 MB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3725, allocations: 4.156 kB / 493 MB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.3729, allocations: 83.88 kB / 493.1 MB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.3729, allocations: 4 kB / 493.1 MB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.373, allocations: 11.98 kB / 493.1 MB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.373, allocations: 4 kB / 493.1 MB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.373, allocations: 0 / 493.1 MB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.3745, allocations: 0.7262 MB / 493.8 MB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.3747, allocations: 51.83 kB / 493.9 MB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.3747, allocations: 8 kB / 493.9 MB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/0.3751, allocations: 19.97 kB / 493.9 MB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.3751, allocations: 35.95 kB / 493.9 MB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.3752, allocations: 12 kB / 493.9 MB, free: 8.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.3753, allocations: 113.8 kB / 494.1 MB, free: 8.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3753, allocations: 0 / 494.1 MB, free: 8.496 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00292/0.3782, allocations: 0.9667 MB / 495 MB, free: 7.527 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.006113/0.3843, allocations: 2.404 MB / 497.4 MB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.3853, allocations: 335.8 kB / 497.8 MB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3853, allocations: 4 kB / 497.8 MB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004538/0.3858, allocations: 170.2 kB / 497.9 MB, free: 4.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.3865, allocations: 104.1 kB / 498 MB, free: 4.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006553/0.3931, allocations: 3.249 MB / 0.4895 GB, free: 1.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.3935, allocations: 0.7374 MB / 0.4902 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003822/0.3939, allocations: 90.31 kB / 0.4903 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.3941, allocations: 83.39 kB / 0.4904 GB, free: 140 kB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3941, allocations: 0 / 0.4904 GB, free: 140 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07078/0.4649, allocations: 33.34 MB / 0.523 GB, free: 14.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.602/10.07, allocations: 2.578 kB / 0.523 GB, free: 14.89 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 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.372039248235524] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 10.159045214764774 10.177846927 9.831633614 Calling exit ...