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.001377/0.001377, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001329/0.001329, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.57/1.57, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2299/0.2299, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.00227/0.00227, allocations: 87.86 kB / 0.4917 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1447, allocations: 66.04 MB / 0.5562 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5432/0.6879, allocations: 177.9 MB / 0.7299 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008708/0.6966, allocations: 5.352 MB / 0.7351 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008819/0.6975, allocations: 23.75 kB / 0.7351 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.6986, allocations: 322 kB / 0.7354 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.7031, allocations: 1.276 MB / 0.7367 GB, free: 8.301 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.706, allocations: 0.9547 MB / 0.7376 GB, free: 7.352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003073/0.7091, allocations: 1.856 MB / 0.7394 GB, free: 5.488 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007841/0.7099, allocations: 409.4 kB / 0.7398 GB, free: 5.086 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.7129, allocations: 1.106 MB / 0.7409 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.714, allocations: 0.7007 MB / 0.7416 GB, free: 3.273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.7142, allocations: 60 kB / 0.7416 GB, free: 3.215 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.7158, allocations: 0.6359 MB / 0.7422 GB, free: 2.578 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.7161, allocations: 267.2 kB / 0.7425 GB, free: 2.316 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005021/0.7166, allocations: 402.2 kB / 0.7429 GB, free: 1.922 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.7187, allocations: 1.308 MB / 0.7442 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7187, allocations: 0 / 0.7442 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7187, allocations: 0 / 0.7442 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.7187, allocations: 0 / 0.7442 GB, free: 0.6094 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.002595/0.7213, allocations: 1.117 MB / 0.7453 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.7214, allocations: 8.031 kB / 0.7453 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.7215, allocations: 102.5 kB / 0.7454 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008448/0.7224, allocations: 143.4 kB / 0.7455 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.7234, allocations: 0.5357 MB / 0.746 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.7235, allocations: 96.41 kB / 0.7461 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-05/0.7236, allocations: 47.98 kB / 0.7462 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.725, allocations: 0.8136 MB / 0.747 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.725, allocations: 3.938 kB / 0.747 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.589e-05/0.7251, allocations: 24 kB / 0.747 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.504e-05/0.7251, allocations: 36.98 kB / 0.747 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.7262, allocations: 0.6359 MB / 0.7476 GB, free: 12.87 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.005086/0.7313, allocations: 3.934 MB / 0.7515 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/0.732, allocations: 340.2 kB / 0.7518 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.7323, allocations: 162.2 kB / 0.752 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.7324, allocations: 97.38 kB / 0.752 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.7325, allocations: 42.83 kB / 0.7521 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.7325, allocations: 0 / 0.7521 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006169/0.7386, allocations: 1.687 MB / 0.7537 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.7387, allocations: 136.5 kB / 0.7539 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008768/0.7396, allocations: 0.6134 MB / 0.7545 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.7397, allocations: 33.7 kB / 0.7545 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.74, allocations: 383.8 kB / 0.7549 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.7402, allocations: 146.8 kB / 0.755 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.7404, allocations: 154.6 kB / 0.7552 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002265/0.7406, allocations: 378.8 kB / 0.7555 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.741, allocations: 209.8 kB / 0.7557 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.7417, allocations: 0.5086 MB / 0.7562 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.7427, allocations: 0.7477 MB / 0.7569 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.7428, allocations: 4 kB / 0.7569 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001612/0.7444, allocations: 0.8842 MB / 0.7578 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.7444, allocations: 9.875 kB / 0.7578 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.7444, allocations: 8 kB / 0.7578 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.7459, allocations: 319.1 kB / 0.7581 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.7463, allocations: 123.8 kB / 0.7582 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.7475, allocations: 0.9347 MB / 0.7592 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/0.748, allocations: 28.62 kB / 0.7592 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.731e-05/0.7481, allocations: 67.98 kB / 0.7593 GB, free: 236 kB / 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.0004053/0.7485, allocations: 245.5 kB / 0.7595 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.7486, allocations: 67.58 kB / 0.7596 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.7503, allocations: 0.8595 MB / 0.7604 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.7503, allocations: 4 kB / 0.7604 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7503, allocations: 0 / 0.7604 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.7503, allocations: 3.984 kB / 0.7604 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.7525, allocations: 1.464 MB / 0.7618 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.7525, allocations: 7.969 kB / 0.7618 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.7536, allocations: 212 kB / 0.762 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.7537, allocations: 28.78 kB / 0.7621 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.7537, allocations: 19.98 kB / 0.7621 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.7562, allocations: 2.869 MB / 0.7649 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.7562, allocations: 3.984 kB / 0.7649 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.7576, allocations: 0.8313 MB / 0.7657 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.7579, allocations: 180.7 kB / 0.7659 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.576e-05/0.758, allocations: 24.05 kB / 0.7659 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.7583, allocations: 8 kB / 0.7659 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.7584, allocations: 47.89 kB / 0.766 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.963e-05/0.7585, allocations: 39.98 kB / 0.766 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005964/0.7591, allocations: 439 kB / 0.7664 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7591, allocations: 0 / 0.7664 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009325/0.76, allocations: 263.7 kB / 0.7667 GB, free: 8.152 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.002358/0.7624, allocations: 1.545 MB / 0.7682 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.7637, allocations: 0.5429 MB / 0.7687 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.7637, allocations: 0 / 0.7687 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.7647, allocations: 402.3 kB / 0.7691 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.7664, allocations: 371.2 kB / 0.7694 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00931/0.7757, allocations: 6.323 MB / 0.7756 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.7764, allocations: 0.9337 MB / 0.7765 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001118/0.7775, allocations: 462.4 kB / 0.777 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005102/0.778, allocations: 279.3 kB / 0.7772 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of SimCode: time 1.242e-06/0.778, allocations: 0 / 0.7772 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06331/0.8413, allocations: 24.48 MB / 0.8011 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.76, allocations: 15.34 kB / 0.8012 GB, free: 4.598 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.040238158777356] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 13.874027685727924 13.899164948 13.175721077 Calling exit ...