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.001851/0.001851, allocations: 122.7 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.002318/0.002318, 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.426/1.426, allocations: 230.5 MB / 254.7 MB, free: 14.98 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.001925/0.001925, allocations: 67.89 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1127, allocations: 53.31 MB / 426.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.3101/0.4228, allocations: 66.01 MB / 492.9 MB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008306/0.4311, allocations: 5.489 MB / 498.4 MB, free: 8.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006467/0.4317, allocations: 5.5 kB / 498.4 MB, free: 8.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.4331, allocations: 362.5 kB / 498.7 MB, free: 8.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.4346, allocations: 0.5155 MB / 499.3 MB, free: 7.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02424/0.4588, allocations: 7.472 MB / 0.4949 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002438/0.4612, allocations: 1.547 MB / 0.4964 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003564/0.4616, allocations: 164.9 kB / 0.4965 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.4628, allocations: 0.6308 MB / 0.4971 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009921/0.4638, allocations: 0.5956 MB / 0.4977 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.464, allocations: 84 kB / 0.4978 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02121/0.4852, allocations: 10.4 MB / 0.508 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005299/0.4857, allocations: 323.2 kB / 0.5083 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007537/0.4865, allocations: 446.3 kB / 0.5087 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01652/0.503, allocations: 5.97 MB / 0.5145 GB, free: 12.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.503, allocations: 0 / 0.5145 GB, free: 12.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.503, allocations: 0 / 0.5145 GB, free: 12.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.503, allocations: 0 / 0.5145 GB, free: 12.89 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.003857/0.5069, allocations: 1.616 MB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.5069, allocations: 8.031 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000149/0.5071, allocations: 110.5 kB / 0.5162 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004281/0.5075, allocations: 88.06 kB / 0.5163 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007293/0.5082, allocations: 441 kB / 0.5167 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.5083, allocations: 49.31 kB / 0.5168 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.5084, allocations: 71.95 kB / 0.5168 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.5102, allocations: 0.8106 MB / 0.5176 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.5102, allocations: 0.5 kB / 0.5176 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/0.5103, allocations: 32 kB / 0.5177 GB, free: 9.566 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.5103, allocations: 16 kB / 0.5177 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.5122, allocations: 1.024 MB / 0.5187 GB, free: 8.527 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0189/0.5311, allocations: 12.78 MB / 0.5312 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.5329, allocations: 0.7138 MB / 0.5318 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006166/0.5335, allocations: 383.1 kB / 0.5322 GB, free: 8.504 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01645/0.55, allocations: 12.24 MB / 0.5442 GB, free: 9.887 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.834e-05/0.55, allocations: 55.52 kB / 0.5442 GB, free: 9.824 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.966e-06/0.55, allocations: 0 / 0.5442 GB, free: 9.824 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.009783/0.5598, allocations: 3.373 MB / 0.5475 GB, free: 6.379 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.5599, allocations: 64.41 kB / 0.5476 GB, free: 6.305 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/0.5603, allocations: 348.5 kB / 0.5479 GB, free: 5.953 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.518e-05/0.5604, allocations: 53.64 kB / 0.548 GB, free: 5.895 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.5605, allocations: 249.1 kB / 0.5482 GB, free: 5.648 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.5608, allocations: 317.2 kB / 0.5485 GB, free: 5.336 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.5611, allocations: 162.6 kB / 0.5486 GB, free: 5.168 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.5613, allocations: 362.8 kB / 0.549 GB, free: 4.805 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000612/0.5619, allocations: 369.8 kB / 0.5493 GB, free: 4.445 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009484/0.5628, allocations: 496.2 kB / 0.5498 GB, free: 3.926 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.5646, allocations: 0.902 MB / 0.5507 GB, free: 2.992 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5646, allocations: 4 kB / 0.5507 GB, free: 2.988 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002628/0.5672, allocations: 1.117 MB / 0.5518 GB, free: 1.855 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5672, allocations: 4 kB / 0.5518 GB, free: 1.852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.5673, allocations: 8 kB / 0.5518 GB, free: 1.844 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008153/0.5681, allocations: 167.5 kB / 0.552 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007723/0.5688, allocations: 191.7 kB / 0.5522 GB, free: 1.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/0.5722, allocations: 4.113 MB / 0.5562 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.5727, allocations: 20 kB / 0.5562 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/0.5728, allocations: 43.98 kB / 0.5562 GB, free: 12.98 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.0003747/0.5731, allocations: 225.6 kB / 0.5564 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/0.5735, allocations: 63.67 kB / 0.5565 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.576, allocations: 1.285 MB / 0.5578 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.576, allocations: 12 kB / 0.5578 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.576, allocations: 0 / 0.5578 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001968/0.578, allocations: 1.316 MB / 0.5591 GB, free: 9.906 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.5815, allocations: 1.968 MB / 0.561 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5815, allocations: 0 / 0.561 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007107/0.5822, allocations: 163.8 kB / 0.5611 GB, free: 7.711 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001811/0.584, allocations: 293.3 kB / 0.5614 GB, free: 7.418 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/0.5841, allocations: 31.98 kB / 0.5614 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009805/0.585, allocations: 1.289 MB / 0.5627 GB, free: 6.051 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.585, allocations: 8.031 kB / 0.5627 GB, free: 6.043 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/0.5878, allocations: 1.422 MB / 0.5641 GB, free: 4.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.588, allocations: 124.8 kB / 0.5642 GB, free: 4.449 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.5881, allocations: 31.98 kB / 0.5642 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005181/0.5887, allocations: 27.98 kB / 0.5643 GB, free: 4.391 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.84e-05/0.5888, allocations: 52.92 kB / 0.5643 GB, free: 4.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-05/0.5888, allocations: 47.91 kB / 0.5644 GB, free: 4.293 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003787/0.5892, allocations: 283 kB / 0.5646 GB, free: 4.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5892, allocations: 0 / 0.5646 GB, free: 4.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003904/0.5931, allocations: 1.427 MB / 0.566 GB, free: 2.59 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.00875/0.6019, allocations: 3.61 MB / 0.5696 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00228/0.6042, allocations: 1.105 MB / 0.5706 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.6042, allocations: 0 / 0.5706 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009462/0.6051, allocations: 483.2 kB / 0.5711 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.6069, allocations: 393.8 kB / 0.5715 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.6198, allocations: 7.072 MB / 0.5784 GB, free: 5.691 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/0.6205, allocations: 0.9128 MB / 0.5793 GB, free: 4.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008086/0.6213, allocations: 209.1 kB / 0.5795 GB, free: 4.543 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/0.6217, allocations: 231.4 kB / 0.5797 GB, free: 4.316 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6217, allocations: 0 / 0.5797 GB, free: 4.316 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3269/0.9486, allocations: 57.19 MB / 0.6355 GB, free: 148.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.26, allocations: 5.047 kB / 0.6356 GB, free: 148.8 MB / 0.5137 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.669147484004498] 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.383135394193232 15.399927347 14.893655809 Calling exit ...