Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 108.6 kB / 18.49 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 197 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 47.92 kB / 366.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09943, allocations: 52.15 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2541/0.3536, allocations: 65.87 MB / 484.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007454/0.361, allocations: 5.473 MB / 489.8 MB, free: 6.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005098/0.3615, allocations: 13.5 kB / 489.8 MB, free: 6.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.3626, allocations: 363.3 kB / 490.2 MB, free: 5.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.3639, allocations: 0.5102 MB / 490.7 MB, free: 5.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02032/0.3842, allocations: 7.459 MB / 498.2 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002619/0.3868, allocations: 1.55 MB / 499.7 MB, free: 15.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.3872, allocations: 164.2 kB / 499.9 MB, free: 15.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.3887, allocations: 0.6422 MB / 0.4888 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.3899, allocations: 0.6108 MB / 0.4894 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.39, allocations: 81.62 kB / 0.4895 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01786/0.4079, allocations: 10.37 MB / 0.4996 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005312/0.4084, allocations: 327.2 kB / 0.4999 GB, free: 8.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007758/0.4092, allocations: 442.3 kB / 0.5003 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01288/0.4221, allocations: 5.955 MB / 0.5061 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4221, allocations: 0 / 0.5061 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4221, allocations: 0 / 0.5061 GB, free: 1.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.4221, allocations: 0 / 0.5061 GB, free: 1.625 MB / 398.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.003993/0.4261, allocations: 1.603 MB / 0.5077 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4261, allocations: 12.02 kB / 0.5077 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.48e-05/0.4262, allocations: 17.31 kB / 0.5077 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/0.4263, allocations: 106.5 kB / 0.5078 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004493/0.4268, allocations: 91.56 kB / 0.5079 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006978/0.4275, allocations: 453 kB / 0.5084 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.4275, allocations: 45.31 kB / 0.5084 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.4276, allocations: 60 kB / 0.5085 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.4295, allocations: 0.8193 MB / 0.5093 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.4295, allocations: 0 / 0.5093 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-05/0.4296, allocations: 32 kB / 0.5093 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.4296, allocations: 16 kB / 0.5093 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.4317, allocations: 1.024 MB / 0.5103 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01953/0.4512, allocations: 12.78 MB / 0.5228 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.4531, allocations: 0.7117 MB / 0.5235 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006792/0.4538, allocations: 387 kB / 0.5238 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01603/0.4698, allocations: 12.24 MB / 0.5358 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.337e-05/0.4699, allocations: 51.16 kB / 0.5358 GB, free: 14.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 4.017e-06/0.4699, allocations: 0 / 0.5358 GB, free: 14.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01026/0.4801, allocations: 3.386 MB / 0.5392 GB, free: 11.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.4802, allocations: 68.34 kB / 0.5392 GB, free: 11.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.4806, allocations: 360.4 kB / 0.5396 GB, free: 10.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.4807, allocations: 49.7 kB / 0.5396 GB, free: 10.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.4809, allocations: 237.2 kB / 0.5398 GB, free: 10.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.4812, allocations: 325.2 kB / 0.5401 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.4814, allocations: 158.6 kB / 0.5403 GB, free: 9.891 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4816, allocations: 362.8 kB / 0.5406 GB, free: 9.527 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/0.4822, allocations: 365.8 kB / 0.541 GB, free: 9.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009703/0.4832, allocations: 0.4924 MB / 0.5415 GB, free: 8.641 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.485, allocations: 0.8982 MB / 0.5424 GB, free: 7.707 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.485, allocations: 0 / 0.5424 GB, free: 7.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002758/0.4878, allocations: 1.121 MB / 0.5434 GB, free: 6.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.4878, allocations: 4.625 kB / 0.5435 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.4878, allocations: 8.016 kB / 0.5435 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008696/0.4887, allocations: 167.5 kB / 0.5436 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008009/0.4895, allocations: 191.7 kB / 0.5438 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003477/0.493, allocations: 4.128 MB / 0.5478 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.4935, allocations: 16 kB / 0.5478 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.4936, allocations: 43.98 kB / 0.5479 GB, free: 1.684 MB / 446.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.0004053/0.494, allocations: 222.3 kB / 0.5481 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004312/0.4944, allocations: 63.67 kB / 0.5482 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.497, allocations: 1.273 MB / 0.5494 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.497, allocations: 11.94 kB / 0.5494 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.497, allocations: 4 kB / 0.5494 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002049/0.4991, allocations: 1.324 MB / 0.5507 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003503/0.5026, allocations: 1.972 MB / 0.5526 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5026, allocations: 0 / 0.5526 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007471/0.5033, allocations: 163.8 kB / 0.5528 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/0.5052, allocations: 297.3 kB / 0.5531 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.5053, allocations: 31.98 kB / 0.5531 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009044/0.5062, allocations: 1.285 MB / 0.5544 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5062, allocations: 3.984 kB / 0.5544 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/0.5089, allocations: 1.426 MB / 0.5558 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.5091, allocations: 124.8 kB / 0.5559 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.745e-05/0.5092, allocations: 24.06 kB / 0.5559 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/0.5097, allocations: 27.97 kB / 0.5559 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.5098, allocations: 56.92 kB / 0.556 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.105e-05/0.5099, allocations: 43.97 kB / 0.556 GB, free: 9.008 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003319/0.5102, allocations: 283 kB / 0.5563 GB, free: 8.734 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5102, allocations: 0 / 0.5563 GB, free: 8.734 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003649/0.5139, allocations: 1.419 MB / 0.5577 GB, free: 7.312 MB / 462.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.008419/0.5223, allocations: 3.608 MB / 0.5612 GB, free: 3.676 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.5245, allocations: 1.105 MB / 0.5623 GB, free: 2.535 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.5245, allocations: 4 kB / 0.5623 GB, free: 2.531 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009674/0.5255, allocations: 471.2 kB / 0.5627 GB, free: 2.066 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.5275, allocations: 390.2 kB / 0.5631 GB, free: 1.684 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.5402, allocations: 7.081 MB / 0.57 GB, free: 10.42 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.5407, allocations: 0.9167 MB / 0.5709 GB, free: 9.473 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007412/0.5415, allocations: 205.2 kB / 0.5711 GB, free: 9.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.5419, allocations: 227.4 kB / 0.5713 GB, free: 9.047 MB / 478.1 MB Notification: Performance of SimCode: time 7.22e-07/0.5419, allocations: 4 kB / 0.5713 GB, free: 9.043 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/0.6467, allocations: 57 MB / 0.627 GB, free: 224 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.55, allocations: 8.062 kB / 0.627 GB, free: 216 kB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 67.0486499540275] 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'] 14.724611927988008 14.737777842 14.312634171000001 Calling exit ...