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.DryAirNasa.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.001567/0.001567, allocations: 121.2 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.001863/0.001863, 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.551/1.551, 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.2458/0.2458, allocations: 46.93 MB / 357.7 MB, free: 10.3 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.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",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.002323/0.002323, allocations: 83.86 kB / 0.4917 GB, free: 7.801 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1545, allocations: 66.04 MB / 0.5562 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.5694/0.7239, allocations: 177.9 MB / 0.7299 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009101/0.733, allocations: 5.35 MB / 0.7351 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008926/0.7339, allocations: 27.75 kB / 0.7351 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.7351, allocations: 318 kB / 0.7354 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003976/0.7391, allocations: 1.27 MB / 0.7367 GB, free: 8.215 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.7419, allocations: 0.9679 MB / 0.7376 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002881/0.7448, allocations: 1.852 MB / 0.7394 GB, free: 5.398 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000954/0.7457, allocations: 409.4 kB / 0.7398 GB, free: 4.996 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002953/0.7487, allocations: 1.106 MB / 0.7409 GB, free: 3.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.7501, allocations: 0.6929 MB / 0.7416 GB, free: 3.191 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.7504, allocations: 60 kB / 0.7416 GB, free: 3.133 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.7522, allocations: 0.6359 MB / 0.7422 GB, free: 2.496 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004661/0.7527, allocations: 279.1 kB / 0.7425 GB, free: 2.223 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.7537, allocations: 398.2 kB / 0.7429 GB, free: 1.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003029/0.7568, allocations: 1.312 MB / 0.7442 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7568, allocations: 0 / 0.7442 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7568, allocations: 0 / 0.7442 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.592e-05/0.7568, allocations: 0 / 0.7442 GB, free: 0.5156 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.003295/0.7601, allocations: 1.109 MB / 0.7453 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.7602, allocations: 12.03 kB / 0.7453 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002407/0.7604, allocations: 98.5 kB / 0.7454 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.7614, allocations: 143.4 kB / 0.7455 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.7625, allocations: 0.5396 MB / 0.746 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.7626, allocations: 104.4 kB / 0.7461 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.7627, allocations: 48 kB / 0.7462 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.764, allocations: 0.8097 MB / 0.747 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.7641, allocations: 7.938 kB / 0.747 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.832e-05/0.7641, allocations: 20 kB / 0.747 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.755e-05/0.7642, allocations: 36.98 kB / 0.747 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.7653, allocations: 0.6243 MB / 0.7476 GB, free: 12.79 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.005075/0.7704, allocations: 3.941 MB / 0.7515 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.7711, allocations: 340.2 kB / 0.7518 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.7713, allocations: 157.3 kB / 0.752 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.7715, allocations: 93.38 kB / 0.752 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.7715, allocations: 42.84 kB / 0.7521 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.304e-06/0.7715, allocations: 0 / 0.7521 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006075/0.7776, allocations: 1.683 MB / 0.7537 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.7777, allocations: 144.4 kB / 0.7539 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008715/0.7786, allocations: 0.6173 MB / 0.7545 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.7786, allocations: 33.7 kB / 0.7545 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.7789, allocations: 375.8 kB / 0.7549 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.7791, allocations: 154.7 kB / 0.755 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.7794, allocations: 158.6 kB / 0.7552 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002322/0.7796, allocations: 374.8 kB / 0.7555 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.78, allocations: 205.9 kB / 0.7557 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007301/0.7808, allocations: 0.5163 MB / 0.7562 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.7819, allocations: 0.7477 MB / 0.7569 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.7819, allocations: 4 kB / 0.7569 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001652/0.7836, allocations: 0.8765 MB / 0.7578 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.7836, allocations: 12.06 kB / 0.7578 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.7836, allocations: 12 kB / 0.7578 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.7851, allocations: 315.5 kB / 0.7581 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.7855, allocations: 127.7 kB / 0.7582 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.7867, allocations: 0.9347 MB / 0.7592 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000511/0.7872, allocations: 24 kB / 0.7592 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.7873, allocations: 71.98 kB / 0.7593 GB, free: 144 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.0004411/0.7878, allocations: 241.5 kB / 0.7595 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.7879, allocations: 75.56 kB / 0.7596 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.7896, allocations: 0.8615 MB / 0.7604 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.7896, allocations: 4 kB / 0.7604 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.7896, allocations: 0 / 0.7604 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7896, allocations: 3.938 kB / 0.7604 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.7918, allocations: 1.462 MB / 0.7618 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.7918, allocations: 4 kB / 0.7618 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.7929, allocations: 208 kB / 0.762 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.649e-05/0.793, allocations: 24.84 kB / 0.7621 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.7931, allocations: 23.98 kB / 0.7621 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002423/0.7955, allocations: 2.878 MB / 0.7649 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7955, allocations: 4.031 kB / 0.7649 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.7969, allocations: 0.8196 MB / 0.7657 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.7972, allocations: 192.7 kB / 0.7659 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.122e-05/0.7973, allocations: 8 kB / 0.7659 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.7977, allocations: 24.05 kB / 0.7659 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.7978, allocations: 35.91 kB / 0.7659 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/0.7978, allocations: 51.91 kB / 0.766 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006026/0.7984, allocations: 435 kB / 0.7664 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7984, allocations: 0 / 0.7664 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000958/0.7994, allocations: 263.7 kB / 0.7667 GB, free: 8.062 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.00223/0.8016, allocations: 1.541 MB / 0.7682 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.8029, allocations: 0.5389 MB / 0.7687 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.8029, allocations: 8 kB / 0.7687 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.8039, allocations: 406.3 kB / 0.7691 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.8056, allocations: 373.2 kB / 0.7694 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009288/0.8149, allocations: 6.315 MB / 0.7756 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007076/0.8156, allocations: 0.9415 MB / 0.7765 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001233/0.8169, allocations: 454.4 kB / 0.777 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005599/0.8174, allocations: 279.3 kB / 0.7772 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of SimCode: time 1.313e-06/0.8174, allocations: 0 / 0.7772 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06762/0.885, allocations: 24.48 MB / 0.8011 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.9, allocations: 19.41 kB / 0.8011 GB, free: 4.508 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_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_Air_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.145480792969465] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.008700692094862 14.035773602 13.27391242 Calling exit ...