Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.375/1.375, allocations: 230.6 MB / 258.3 MB, free: 8.016 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 47.92 kB / 378.6 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2241, allocations: 53.36 MB / 431.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07301/0.2971, allocations: 66.39 MB / 498.3 MB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007535/0.3046, allocations: 5.504 MB / 0.492 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004143/0.3051, allocations: 7.938 kB / 0.492 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.3062, allocations: 365.9 kB / 0.4924 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.3073, allocations: 0.5089 MB / 0.4929 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01922/0.3265, allocations: 7.55 MB / 0.5002 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002284/0.3288, allocations: 1.567 MB / 0.5018 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.3291, allocations: 149.4 kB / 0.5019 GB, free: 4.562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.3304, allocations: 0.6386 MB / 0.5025 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.3315, allocations: 0.6034 MB / 0.5031 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.3318, allocations: 87.94 kB / 0.5032 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01979/0.3516, allocations: 10.48 MB / 0.5134 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005806/0.3521, allocations: 331.2 kB / 0.5138 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007849/0.3529, allocations: 442.3 kB / 0.5142 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.3658, allocations: 5.97 MB / 0.52 GB, free: 2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.3658, allocations: 4 kB / 0.52 GB, free: 1.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3658, allocations: 0 / 0.52 GB, free: 1.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.241e-05/0.3659, allocations: 0 / 0.52 GB, free: 1.996 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.004621/0.3705, allocations: 1.541 MB / 0.5215 GB, free: 428 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3706, allocations: 12.03 kB / 0.5215 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.945e-05/0.3706, allocations: 21.25 kB / 0.5215 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.3708, allocations: 102.5 kB / 0.5216 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004884/0.3712, allocations: 95.5 kB / 0.5217 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007817/0.372, allocations: 379.2 kB / 0.5221 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.374e-05/0.3721, allocations: 49.25 kB / 0.5221 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.3722, allocations: 71.95 kB / 0.5222 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.3741, allocations: 0.8029 MB / 0.523 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.3742, allocations: 8 kB / 0.523 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/0.3742, allocations: 27.98 kB / 0.523 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.3742, allocations: 16 kB / 0.523 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.3762, allocations: 1.036 MB / 0.5241 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.3906, allocations: 4.977 MB / 0.5289 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.3924, allocations: 0.715 MB / 0.5296 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006157/0.393, allocations: 390.6 kB / 0.53 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.4036, allocations: 2.6 MB / 0.5325 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.208e-05/0.4036, allocations: 47.22 kB / 0.5326 GB, free: 4.816 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.194e-06/0.4036, allocations: 0 / 0.5326 GB, free: 4.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01042/0.414, allocations: 3.153 MB / 0.5357 GB, free: 1.633 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.4141, allocations: 60.41 kB / 0.5357 GB, free: 1.559 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.4146, allocations: 352.5 kB / 0.536 GB, free: 1.211 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.4147, allocations: 45.7 kB / 0.5361 GB, free: 1.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.4149, allocations: 241.2 kB / 0.5363 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.4152, allocations: 325.2 kB / 0.5366 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/0.4155, allocations: 158.6 kB / 0.5368 GB, free: 452 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4156, allocations: 362.8 kB / 0.5371 GB, free: 80 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1955/0.6111, allocations: 378.4 kB / 0.5375 GB, free: 106.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.6123, allocations: 490.8 kB / 0.538 GB, free: 106.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.614, allocations: 0.9059 MB / 0.5388 GB, free: 106.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.614, allocations: 1.031 kB / 0.5388 GB, free: 106.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002595/0.6166, allocations: 1.12 MB / 0.5399 GB, free: 105.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.6166, allocations: 5.25 kB / 0.5399 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6166, allocations: 2.656 kB / 0.5399 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008053/0.6174, allocations: 170 kB / 0.5401 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007614/0.6182, allocations: 187.8 kB / 0.5403 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.6201, allocations: 3.913 MB / 0.5441 GB, free: 101.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.6206, allocations: 19.44 kB / 0.5441 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/0.6207, allocations: 46.08 kB / 0.5442 GB, free: 101.7 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.0003614/0.621, allocations: 226.8 kB / 0.5444 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/0.6214, allocations: 66.41 kB / 0.5444 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.6237, allocations: 1.278 MB / 0.5457 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.6237, allocations: 7.906 kB / 0.5457 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6237, allocations: 4.125 kB / 0.5457 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001513/0.6252, allocations: 1.319 MB / 0.547 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.628, allocations: 1.937 MB / 0.5489 GB, free: 99.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.628, allocations: 0 / 0.5489 GB, free: 99.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006304/0.6287, allocations: 168 kB / 0.549 GB, free: 99.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001589/0.6303, allocations: 299.5 kB / 0.5493 GB, free: 99.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-05/0.6303, allocations: 31.39 kB / 0.5494 GB, free: 99.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005177/0.6308, allocations: 1.291 MB / 0.5506 GB, free: 97.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6308, allocations: 3.875 kB / 0.5506 GB, free: 97.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.633, allocations: 1.409 MB / 0.552 GB, free: 97.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.6331, allocations: 59.91 kB / 0.5521 GB, free: 97.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.94e-05/0.6332, allocations: 15.97 kB / 0.5521 GB, free: 97.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/0.6337, allocations: 41.06 kB / 0.5521 GB, free: 97.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.6338, allocations: 59.45 kB / 0.5522 GB, free: 97.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.498e-05/0.6339, allocations: 43.34 kB / 0.5522 GB, free: 97.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.6342, allocations: 280.9 kB / 0.5525 GB, free: 96.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6342, allocations: 6.156 kB / 0.5525 GB, free: 96.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003475/0.6376, allocations: 1.425 MB / 0.5539 GB, free: 96.85 MB / 446.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.007927/0.6456, allocations: 3.587 MB / 0.5574 GB, free: 95.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.6475, allocations: 1.111 MB / 0.5585 GB, free: 94.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.6475, allocations: 6.562 kB / 0.5585 GB, free: 94.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.6483, allocations: 478.2 kB / 0.5589 GB, free: 93.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.6501, allocations: 386.7 kB / 0.5593 GB, free: 93.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.6605, allocations: 7.077 MB / 0.5662 GB, free: 86.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.6608, allocations: 0.9128 MB / 0.5671 GB, free: 85.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006652/0.6615, allocations: 208.9 kB / 0.5673 GB, free: 85.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.6618, allocations: 227.4 kB / 0.5675 GB, free: 84.81 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6618, allocations: 4 kB / 0.5675 GB, free: 84.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0858/0.7476, allocations: 57.84 MB / 0.624 GB, free: 27.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.59, allocations: 10.88 kB / 0.624 GB, free: 27.19 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 68.06805139296921] 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.793472752033267 15.802832649 15.434686141 Calling exit ...