Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001234/0.001234, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001346/0.001346, allocations: 214.6 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2212/0.2212, allocations: 46.89 MB / 357.4 MB, free: 10.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002209/0.002209, allocations: 79.88 kB / 0.4912 GB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1343, allocations: 65.97 MB / 0.5557 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4421/0.5764, allocations: 151 MB / 0.7031 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00874/0.5852, allocations: 5.616 MB / 0.7086 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007747/0.5859, allocations: 19.88 kB / 0.7086 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.5872, allocations: 329.9 kB / 0.7089 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.5897, allocations: 0.8784 MB / 0.7098 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.5929, allocations: 1.029 MB / 0.7108 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003435/0.5963, allocations: 1.805 MB / 0.7126 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.5975, allocations: 417.4 kB / 0.713 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.6, allocations: 0.7747 MB / 0.7137 GB, free: 244 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.6018, allocations: 0.7553 MB / 0.7145 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003884/0.6022, allocations: 60 kB / 0.7145 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.6045, allocations: 0.5771 MB / 0.7151 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006332/0.6051, allocations: 275.1 kB / 0.7153 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007693/0.6059, allocations: 398.2 kB / 0.7157 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002522/0.6084, allocations: 1.182 MB / 0.7169 GB, free: 13 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6084, allocations: 0 / 0.7169 GB, free: 13 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6084, allocations: 0 / 0.7169 GB, free: 13 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.6084, allocations: 0 / 0.7169 GB, free: 13 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002372/0.6108, allocations: 1.07 MB / 0.7179 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.6108, allocations: 12.03 kB / 0.7179 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.6109, allocations: 102.6 kB / 0.718 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003517/0.6113, allocations: 96.41 kB / 0.7181 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00096/0.6123, allocations: 0.5409 MB / 0.7187 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.6124, allocations: 105 kB / 0.7188 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.854e-05/0.6125, allocations: 48.36 kB / 0.7188 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.6138, allocations: 0.8188 MB / 0.7196 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.6138, allocations: 7.938 kB / 0.7196 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/0.6139, allocations: 23.98 kB / 0.7196 GB, free: 10 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-05/0.614, allocations: 40.97 kB / 0.7197 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.615, allocations: 0.6518 MB / 0.7203 GB, free: 9.312 MB / 0.5294 GB 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.004963/0.62, allocations: 3.957 MB / 0.7242 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008426/0.6208, allocations: 408.2 kB / 0.7246 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.6212, allocations: 189.4 kB / 0.7247 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000719/0.6219, allocations: 0.7288 MB / 0.7255 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.6219, allocations: 38.89 kB / 0.7255 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 2.876e-06/0.6219, allocations: 0 / 0.7255 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.003341/0.6253, allocations: 1.566 MB / 0.727 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/0.6254, allocations: 136.5 kB / 0.7272 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.6261, allocations: 0.5694 MB / 0.7277 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.6261, allocations: 37.7 kB / 0.7277 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.6264, allocations: 359.9 kB / 0.7281 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.6266, allocations: 174.6 kB / 0.7283 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.6268, allocations: 134.6 kB / 0.7284 GB, free: 456 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.627, allocations: 374.8 kB / 0.7287 GB, free: 72 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.6274, allocations: 213.9 kB / 0.7289 GB, free: 15.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.628, allocations: 0.5162 MB / 0.7294 GB, free: 15.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.629, allocations: 0.761 MB / 0.7302 GB, free: 14.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.629, allocations: 4 kB / 0.7302 GB, free: 14.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001687/0.6307, allocations: 0.9061 MB / 0.7311 GB, free: 13.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.6307, allocations: 15.88 kB / 0.7311 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.6308, allocations: 15.98 kB / 0.7311 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.6322, allocations: 283.3 kB / 0.7314 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.6326, allocations: 115.8 kB / 0.7315 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.6337, allocations: 0.8966 MB / 0.7324 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.6342, allocations: 27.98 kB / 0.7324 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.6342, allocations: 36 kB / 0.7324 GB, free: 12 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003735/0.6346, allocations: 252.8 kB / 0.7327 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.6348, allocations: 75.5 kB / 0.7327 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.6362, allocations: 0.7693 MB / 0.7335 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.6362, allocations: 8 kB / 0.7335 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.6362, allocations: 3.938 kB / 0.7335 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.6362, allocations: 7.922 kB / 0.7335 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.6385, allocations: 1.409 MB / 0.7349 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.6385, allocations: 4 kB / 0.7349 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.6395, allocations: 203.8 kB / 0.7351 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-05/0.6396, allocations: 21.03 kB / 0.7351 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.6397, allocations: 16 kB / 0.7351 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.6422, allocations: 2.877 MB / 0.7379 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6422, allocations: 0 / 0.7379 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.6437, allocations: 1.013 MB / 0.7389 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/0.6441, allocations: 204.6 kB / 0.7391 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.6442, allocations: 8 kB / 0.7391 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.6446, allocations: 19.98 kB / 0.7391 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.256e-05/0.6447, allocations: 47.89 kB / 0.7392 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.6448, allocations: 23.98 kB / 0.7392 GB, free: 4.566 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005843/0.6454, allocations: 435 kB / 0.7396 GB, free: 4.137 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.6454, allocations: 0 / 0.7396 GB, free: 4.137 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008316/0.6462, allocations: 219.8 kB / 0.7398 GB, free: 3.922 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002273/0.6485, allocations: 1.715 MB / 0.7415 GB, free: 2.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.6498, allocations: 0.5718 MB / 0.7421 GB, free: 1.578 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.6498, allocations: 3.859 kB / 0.7421 GB, free: 1.574 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.6509, allocations: 443.1 kB / 0.7425 GB, free: 1.129 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.6526, allocations: 384.6 kB / 0.7429 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.6635, allocations: 6.479 MB / 0.7492 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/0.6642, allocations: 0.9346 MB / 0.7501 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000738/0.6649, allocations: 209.2 kB / 0.7503 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003733/0.6653, allocations: 239.4 kB / 0.7505 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of SimCode: time 1.423e-06/0.6653, allocations: 0 / 0.7505 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06118/0.7265, allocations: 22.74 MB / 0.7727 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.05, allocations: 7.75 kB / 0.7727 GB, free: 2.027 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.957192534115165] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.157513170968741 14.183899609 13.570739011 Calling exit ...