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.001506/0.001506, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001406/0.001406, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.45/1.45, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2278/0.2278, allocations: 46.89 MB / 357.4 MB, free: 10.53 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.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.002251/0.002251, allocations: 79.86 kB / 0.4912 GB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1429, allocations: 65.98 MB / 0.5557 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5531/0.696, allocations: 177.9 MB / 0.7294 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008995/0.705, allocations: 5.358 MB / 0.7346 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.706, allocations: 19.88 kB / 0.7346 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.7073, allocations: 317.9 kB / 0.7349 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004127/0.7114, allocations: 1.287 MB / 0.7362 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.7145, allocations: 0.9544 MB / 0.7371 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003126/0.7176, allocations: 1.864 MB / 0.7389 GB, free: 6.301 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009176/0.7185, allocations: 409.4 kB / 0.7393 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.7212, allocations: 1.106 MB / 0.7404 GB, free: 4.789 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.7222, allocations: 0.6929 MB / 0.7411 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.7223, allocations: 63.94 kB / 0.7411 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.7239, allocations: 0.632 MB / 0.7418 GB, free: 3.398 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003236/0.7242, allocations: 271.2 kB / 0.742 GB, free: 3.133 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005357/0.7247, allocations: 402.2 kB / 0.7424 GB, free: 2.738 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.7268, allocations: 1.308 MB / 0.7437 GB, free: 1.426 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.7268, allocations: 4 kB / 0.7437 GB, free: 1.422 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7268, allocations: 0 / 0.7437 GB, free: 1.422 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.7268, allocations: 0 / 0.7437 GB, free: 1.422 MB / 0.545 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.002346/0.7292, allocations: 1.125 MB / 0.7448 GB, free: 248 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.7292, allocations: 8.031 kB / 0.7448 GB, free: 240 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.7294, allocations: 94.52 kB / 0.7449 GB, free: 136 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008408/0.7302, allocations: 146 kB / 0.745 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009819/0.7312, allocations: 0.5357 MB / 0.7455 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.7313, allocations: 104.4 kB / 0.7456 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.453e-05/0.7314, allocations: 48 kB / 0.7457 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.7327, allocations: 0.8241 MB / 0.7465 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.7327, allocations: 3.984 kB / 0.7465 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/0.7328, allocations: 27.98 kB / 0.7465 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.306e-05/0.7328, allocations: 36.98 kB / 0.7465 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.7339, allocations: 0.6243 MB / 0.7472 GB, free: 13.67 MB / 0.5606 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.004884/0.7388, allocations: 3.933 MB / 0.751 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.7394, allocations: 335.6 kB / 0.7513 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.7396, allocations: 169.3 kB / 0.7515 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.7398, allocations: 89.38 kB / 0.7516 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.7398, allocations: 42.78 kB / 0.7516 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.325e-06/0.7398, allocations: 0 / 0.7516 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005677/0.7455, allocations: 1.687 MB / 0.7533 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.7456, allocations: 136.5 kB / 0.7534 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000828/0.7464, allocations: 0.6133 MB / 0.754 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.7465, allocations: 37.64 kB / 0.754 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.7468, allocations: 379.8 kB / 0.7544 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.747, allocations: 150.7 kB / 0.7545 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.7472, allocations: 162.6 kB / 0.7547 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.7474, allocations: 374.8 kB / 0.755 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.7478, allocations: 201.9 kB / 0.7552 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006409/0.7484, allocations: 0.5086 MB / 0.7557 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.7494, allocations: 0.7555 MB / 0.7565 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.7495, allocations: 7.984 kB / 0.7565 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001565/0.751, allocations: 0.8771 MB / 0.7573 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.751, allocations: 8 kB / 0.7573 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.7511, allocations: 12 kB / 0.7573 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.7525, allocations: 311.1 kB / 0.7576 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.7529, allocations: 128.2 kB / 0.7578 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.7541, allocations: 0.9348 MB / 0.7587 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.7546, allocations: 28 kB / 0.7587 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.7547, allocations: 63.98 kB / 0.7588 GB, free: 1.035 MB / 0.5606 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.0004051/0.7551, allocations: 249.5 kB / 0.759 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.7553, allocations: 71.52 kB / 0.7591 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.757, allocations: 0.8617 MB / 0.7599 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.757, allocations: 7.984 kB / 0.7599 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.757, allocations: 4 kB / 0.7599 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.757, allocations: 4 kB / 0.7599 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.7593, allocations: 1.454 MB / 0.7614 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.7593, allocations: 4.188 kB / 0.7614 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.7604, allocations: 207.8 kB / 0.7616 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.7605, allocations: 24.84 kB / 0.7616 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/0.7606, allocations: 21.17 kB / 0.7616 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002435/0.763, allocations: 2.879 MB / 0.7644 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.763, allocations: 4.188 kB / 0.7644 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.7643, allocations: 0.8229 MB / 0.7652 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004229/0.7647, allocations: 192.6 kB / 0.7654 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.7649, allocations: 12 kB / 0.7654 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.7653, allocations: 15.98 kB / 0.7654 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.7654, allocations: 39.84 kB / 0.7655 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.767e-05/0.7655, allocations: 47.97 kB / 0.7655 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006451/0.7661, allocations: 439 kB / 0.7659 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7661, allocations: 4.062 kB / 0.7659 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001078/0.7672, allocations: 255.7 kB / 0.7662 GB, free: 8.957 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.002626/0.7698, allocations: 1.576 MB / 0.7677 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.7711, allocations: 0.534 MB / 0.7682 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.7711, allocations: 7.859 kB / 0.7682 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.7721, allocations: 407.8 kB / 0.7686 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.7739, allocations: 362.9 kB / 0.769 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.7841, allocations: 6.319 MB / 0.7751 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/0.7849, allocations: 0.9337 MB / 0.7761 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001195/0.7861, allocations: 457.5 kB / 0.7765 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005277/0.7866, allocations: 295.2 kB / 0.7768 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of SimCode: time 1.262e-06/0.7866, allocations: 0 / 0.7768 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07044/0.857, allocations: 24.59 MB / 0.8008 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.9, allocations: 0 / 0.8008 GB, free: 5.281 MB / 0.6075 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 --stepSize=0.000201919 --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: 16.9257275541313] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.016852603293955 14.041361576 13.309900249 Calling exit ...