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.001255/0.001255, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001324/0.001324, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.429/1.429, allocations: 230.4 MB / 254.7 MB, free: 15 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.001895/0.001895, allocations: 67.81 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09629, allocations: 53.31 MB / 426.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2157/0.312, allocations: 26.74 MB / 453.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.3153, allocations: 2.251 MB / 455.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.235e-05/0.3154, allocations: 1.125 kB / 455.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.3158, allocations: 67.56 kB / 455.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004093/0.3162, allocations: 168.1 kB / 456.1 MB, free: 9.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01884/0.335, allocations: 6.549 MB / 462.7 MB, free: 6.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005557/0.3356, allocations: 338 kB / 463 MB, free: 6.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.776e-05/0.3356, allocations: 11.03 kB / 463 MB, free: 6.227 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.3359, allocations: 138.7 kB / 463.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.3361, allocations: 132.4 kB / 463.3 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.3361, allocations: 16.5 kB / 463.3 MB, free: 6.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01953/0.3557, allocations: 9.649 MB / 472.9 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.3558, allocations: 70.59 kB / 473 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.356, allocations: 101.5 kB / 473.1 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.3703, allocations: 4.74 MB / 477.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3703, allocations: 4 kB / 477.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3703, allocations: 0 / 477.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.3703, allocations: 0 / 477.8 MB, free: 13.99 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.004551/0.3749, allocations: 1.184 MB / 479 MB, free: 12.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.3749, allocations: 12.03 kB / 479 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.607e-05/0.375, allocations: 54.67 kB / 479.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.3752, allocations: 24.22 kB / 479.1 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.3755, allocations: 219.3 kB / 479.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3755, allocations: 19.08 kB / 479.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.3756, allocations: 15.95 kB / 479.4 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/0.3763, allocations: 281.5 kB / 479.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3763, allocations: 0.5625 kB / 479.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.3763, allocations: 12 kB / 479.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.3763, allocations: 11.92 kB / 479.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008285/0.3772, allocations: 311.7 kB / 480 MB, free: 11.83 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.001692/0.3789, allocations: 0.8257 MB / 480.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007332/0.3796, allocations: 245.9 kB / 481 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.3799, allocations: 133.1 kB / 481.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0171/0.397, allocations: 12.83 MB / 494 MB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.3971, allocations: 42.5 kB / 494 MB, free: 11.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.254e-06/0.3971, allocations: 0 / 494 MB, free: 11.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002949/0.4, allocations: 0.701 MB / 494.7 MB, free: 10.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.4001, allocations: 85.05 kB / 494.8 MB, free: 10.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.4002, allocations: 155.8 kB / 495 MB, free: 10.17 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.4003, allocations: 29.7 kB / 495 MB, free: 10.13 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.4004, allocations: 112.9 kB / 495.1 MB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.4005, allocations: 134.8 kB / 495.2 MB, free: 9.887 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.4006, allocations: 69.67 kB / 495.3 MB, free: 9.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4008, allocations: 334.8 kB / 495.6 MB, free: 9.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.4012, allocations: 135.9 kB / 495.8 MB, free: 9.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.4017, allocations: 211.6 kB / 496 MB, free: 9.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009224/0.4026, allocations: 357 kB / 496.3 MB, free: 8.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4026, allocations: 8 kB / 496.3 MB, free: 8.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001173/0.4038, allocations: 423.4 kB / 496.7 MB, free: 8.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.4038, allocations: 12 kB / 496.7 MB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4038, allocations: 0 / 496.7 MB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.4038, allocations: 7.938 kB / 496.8 MB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.4043, allocations: 91.81 kB / 496.8 MB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.4043, allocations: 4 kB / 496.8 MB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.4047, allocations: 23.98 kB / 496.9 MB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.4047, allocations: 15.98 kB / 496.9 MB, free: 8.16 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.0001762/0.4049, allocations: 149.7 kB / 497 MB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.405, allocations: 23.86 kB / 497.1 MB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.4056, allocations: 198.6 kB / 497.3 MB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4056, allocations: 4 kB / 497.3 MB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.4056, allocations: 0.5625 kB / 497.3 MB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.4056, allocations: 0 / 497.3 MB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.4074, allocations: 0.772 MB / 498 MB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.4074, allocations: 4.859 kB / 498 MB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.4078, allocations: 85.27 kB / 498.1 MB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.4078, allocations: 8 kB / 498.1 MB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.4079, allocations: 19.98 kB / 498.1 MB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.4079, allocations: 0 / 498.1 MB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4079, allocations: 4 kB / 498.1 MB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.4095, allocations: 0.7246 MB / 498.9 MB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.4097, allocations: 121.8 kB / 499 MB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.4098, allocations: 8 kB / 499 MB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.4101, allocations: 27.97 kB / 499 MB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.4102, allocations: 23.91 kB / 499 MB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/0.4102, allocations: 19.98 kB / 499.1 MB, free: 5.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.815e-05/0.4103, allocations: 112.3 kB / 499.2 MB, free: 5.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4103, allocations: 0 / 499.2 MB, free: 5.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003585/0.4139, allocations: 0.9628 MB / 0.4884 GB, free: 4.777 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.007198/0.4211, allocations: 2.433 MB / 0.4908 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.4223, allocations: 332.2 kB / 0.4911 GB, free: 1.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.4223, allocations: 448 / 0.4911 GB, free: 1.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005222/0.4229, allocations: 183.6 kB / 0.4913 GB, free: 1.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000817/0.4237, allocations: 110 kB / 0.4914 GB, free: 1.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007496/0.4312, allocations: 3.235 MB / 0.4946 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.4316, allocations: 0.7374 MB / 0.4953 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004456/0.4321, allocations: 92.7 kB / 0.4954 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.4323, allocations: 75.41 kB / 0.4954 GB, free: 13.39 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4323, allocations: 0 / 0.4954 GB, free: 13.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08345/0.5157, allocations: 33.16 MB / 0.5278 GB, free: 12.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.308/9.824, allocations: 11.78 kB / 0.5278 GB, free: 12.34 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.11377885285765] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 9.920386742800474 9.946234711 9.571066025 Calling exit ...