Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001961/0.001961, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002727/0.002727, allocations: 219.9 kB / 23 MB, free: 5.617 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.463/1.463, allocations: 230.2 MB / 256.2 MB, free: 8.57 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.2398/0.2398, allocations: 46.88 MB / 359.4 MB, free: 4.934 MB / 286.1 MB " [Timeout remaining time 179] 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.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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.003018/0.003018, allocations: 83.86 kB / 0.4941 GB, free: 9.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4091, allocations: 65.97 MB / 0.5586 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2246/0.6337, allocations: 178.1 MB / 0.7325 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008041/0.6417, allocations: 5.382 MB / 0.7377 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007276/0.6424, allocations: 23.88 kB / 0.7378 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.6434, allocations: 318 kB / 0.7381 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.6472, allocations: 1.275 MB / 0.7393 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.6501, allocations: 0.9761 MB / 0.7403 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002556/0.6526, allocations: 1.86 MB / 0.7421 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00067/0.6533, allocations: 389.5 kB / 0.7424 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.6559, allocations: 1.105 MB / 0.7435 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.657, allocations: 0.6968 MB / 0.7442 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.6571, allocations: 60 kB / 0.7443 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.6586, allocations: 0.6337 MB / 0.7449 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003195/0.6589, allocations: 275.1 kB / 0.7451 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.6594, allocations: 398.2 kB / 0.7455 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.6615, allocations: 1.316 MB / 0.7468 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6615, allocations: 0 / 0.7468 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6615, allocations: 3.938 kB / 0.7468 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.6615, allocations: 0 / 0.7468 GB, free: 6.156 MB / 0.5762 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.002509/0.664, allocations: 1.117 MB / 0.7479 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.6641, allocations: 8.031 kB / 0.7479 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.6642, allocations: 102.5 kB / 0.748 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008286/0.6651, allocations: 143.4 kB / 0.7481 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008992/0.666, allocations: 0.5241 MB / 0.7487 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.6661, allocations: 104.4 kB / 0.7488 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.861e-05/0.6662, allocations: 52 kB / 0.7488 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.6676, allocations: 0.8252 MB / 0.7496 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.6676, allocations: 0 / 0.7496 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.56e-05/0.6677, allocations: 27.98 kB / 0.7496 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-05/0.6677, allocations: 44.86 kB / 0.7497 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.6688, allocations: 0.6205 MB / 0.7503 GB, free: 2.406 MB / 0.5762 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.2923/0.9611, allocations: 3.934 MB / 0.7541 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/0.9619, allocations: 339.5 kB / 0.7545 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.9622, allocations: 165.4 kB / 0.7546 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.9623, allocations: 89.28 kB / 0.7547 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.9623, allocations: 40.12 kB / 0.7547 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.983e-06/0.9623, allocations: 0 / 0.7547 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005763/0.9681, allocations: 1.685 MB / 0.7564 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.9681, allocations: 142.6 kB / 0.7565 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/0.9689, allocations: 0.612 MB / 0.7571 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/0.969, allocations: 33.11 kB / 0.7571 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.9692, allocations: 376.6 kB / 0.7575 GB, free: 170 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.9693, allocations: 151.7 kB / 0.7576 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.9695, allocations: 158.1 kB / 0.7578 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.9696, allocations: 380 kB / 0.7582 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.97, allocations: 200.5 kB / 0.7584 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.9705, allocations: 0.5119 MB / 0.7589 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009226/0.9715, allocations: 0.7491 MB / 0.7596 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.9715, allocations: 2.781 kB / 0.7596 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001359/0.9728, allocations: 0.8802 MB / 0.7604 GB, free: 168 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.9728, allocations: 13.66 kB / 0.7605 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.9729, allocations: 12.77 kB / 0.7605 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.9741, allocations: 316.4 kB / 0.7608 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.9745, allocations: 119.5 kB / 0.7609 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009015/0.9754, allocations: 0.9319 MB / 0.7618 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.9759, allocations: 30.94 kB / 0.7618 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/0.976, allocations: 67.36 kB / 0.7619 GB, free: 167.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003179/0.9763, allocations: 239.4 kB / 0.7621 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.9764, allocations: 78.3 kB / 0.7622 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.9778, allocations: 0.8609 MB / 0.763 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.9778, allocations: 16.22 kB / 0.763 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.9778, allocations: 4 kB / 0.7631 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.9778, allocations: 0 / 0.7631 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.9796, allocations: 1.457 MB / 0.7645 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.9796, allocations: 3.125 kB / 0.7645 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.9806, allocations: 209.7 kB / 0.7647 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-05/0.9807, allocations: 26.17 kB / 0.7647 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.9808, allocations: 18.31 kB / 0.7647 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.9823, allocations: 2.88 MB / 0.7675 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.9823, allocations: 3.938 kB / 0.7675 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.9833, allocations: 0.8197 MB / 0.7683 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.9836, allocations: 189.3 kB / 0.7685 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.649e-05/0.9836, allocations: 18.44 kB / 0.7685 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.984, allocations: 16.56 kB / 0.7686 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/0.9841, allocations: 38.03 kB / 0.7686 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.9842, allocations: 41.16 kB / 0.7686 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004399/0.9846, allocations: 447.9 kB / 0.7691 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.9846, allocations: 0 / 0.7691 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009572/0.9856, allocations: 256.5 kB / 0.7693 GB, free: 162 MB / 0.5762 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001959/0.9875, allocations: 1.563 MB / 0.7708 GB, free: 161 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001291/0.9888, allocations: 0.5427 MB / 0.7714 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.9888, allocations: 4.719 kB / 0.7714 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009273/0.9897, allocations: 410.4 kB / 0.7718 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.9913, allocations: 371 kB / 0.7721 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008601/0.9999, allocations: 6.33 MB / 0.7783 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/1, allocations: 0.933 MB / 0.7792 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001255/1.002, allocations: 463.6 kB / 0.7796 GB, free: 156 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/1.002, allocations: 290.8 kB / 0.7799 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/1.002, allocations: 0 / 0.7799 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06417/1.066, allocations: 24.61 MB / 0.804 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.07, allocations: 9.203 kB / 0.804 GB, free: 145.9 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.08907163699041] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.183027132996358 14.195407778 13.530848955 Calling exit ...