Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.114/0.114, allocations: 11.16 MB / 30.26 MB, free: 6.539 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 84.58 kB / 37.85 MB, free: 7.953 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 160.6 kB / 45.52 MB, free: 276 kB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 177.2 MB / 230.2 MB, free: 8.391 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1528/0.1528, allocations: 17.63 MB / 308.7 MB, free: 12.86 MB / 286.1 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.AirWaterSaturation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation") translateModel(Physiolibrary.Fluid.Examples.AirWaterSaturation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 454.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.145e-05/4.325e-05, allocations: 2.281 kB / 454.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.06896/0.069, allocations: 52.61 MB / 0.4955 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03354/0.1025, allocations: 24.83 MB / 0.5198 GB, free: 4.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.1038, allocations: 23.81 kB / 0.5198 GB, free: 4.172 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.1054, allocations: 417 kB / 0.5202 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009267/0.1147, allocations: 2.782 MB / 0.5229 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3193/0.434, allocations: 3.794 MB / 0.5266 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003513/0.4375, allocations: 1.917 MB / 0.5285 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.439, allocations: 0.7328 MB / 0.5292 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008303/0.4474, allocations: 3.357 MB / 0.5325 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005919/0.4533, allocations: 1.286 MB / 0.5337 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005422/0.4538, allocations: 137.4 kB / 0.5339 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01641/0.4702, allocations: 3.66 MB / 0.5374 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001493/0.4717, allocations: 0.569 MB / 0.538 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.4732, allocations: 0.5573 MB / 0.5385 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0217/0.4949, allocations: 5.768 MB / 0.5442 GB, free: 12.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.4949, allocations: 0 / 0.5442 GB, free: 12.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4949, allocations: 0 / 0.5442 GB, free: 12.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.349e-05/0.495, allocations: 1.188 kB / 0.5442 GB, free: 12.25 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.009014/0.504, allocations: 2.07 MB / 0.5462 GB, free: 11.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.504, allocations: 14.08 kB / 0.5462 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.5056, allocations: 300.9 kB / 0.5465 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.5073, allocations: 0.7119 MB / 0.5472 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.251e-05/0.5074, allocations: 82.59 kB / 0.5473 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.5076, allocations: 95.31 kB / 0.5474 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/0.5107, allocations: 1.831 MB / 0.5492 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.5107, allocations: 0 / 0.5492 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.5109, allocations: 44.41 kB / 0.5492 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002588/0.5111, allocations: 78.23 kB / 0.5493 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/0.515, allocations: 2.28 MB / 0.5515 GB, free: 10.65 MB / 430.1 MB 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.009014/0.5241, allocations: 5.071 MB / 0.5564 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.5263, allocations: 1.197 MB / 0.5576 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009719/0.5273, allocations: 0.633 MB / 0.5582 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005308/0.5326, allocations: 2.791 MB / 0.561 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.5326, allocations: 54.72 kB / 0.561 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007785/0.5334, allocations: 133.6 kB / 0.5611 GB, free: 8.656 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 4.488e-06/0.5334, allocations: 3.156 kB / 0.5611 GB, free: 8.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.005434/0.5389, allocations: 2.422 MB / 0.5635 GB, free: 8.211 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.5389, allocations: 65.91 kB / 0.5636 GB, free: 8.145 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009049/0.5398, allocations: 0.6645 MB / 0.5642 GB, free: 7.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.253e-05/0.5399, allocations: 43.31 kB / 0.5643 GB, free: 7.797 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.5402, allocations: 0.5062 MB / 0.5648 GB, free: 7.391 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.5405, allocations: 359.8 kB / 0.5651 GB, free: 7.109 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003901/0.5409, allocations: 251.8 kB / 0.5653 GB, free: 7.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.541, allocations: 396.5 kB / 0.5657 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000924/0.5419, allocations: 0.6499 MB / 0.5664 GB, free: 6.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.543, allocations: 0.9499 MB / 0.5673 GB, free: 5.852 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.5451, allocations: 1.677 MB / 0.5689 GB, free: 4.949 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.5451, allocations: 2.938 kB / 0.5689 GB, free: 4.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003135/0.5482, allocations: 1.883 MB / 0.5708 GB, free: 4.273 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.5483, allocations: 9.625 kB / 0.5708 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.5483, allocations: 8.281 kB / 0.5708 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.5498, allocations: 297.6 kB / 0.5711 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009818/0.5508, allocations: 284.6 kB / 0.5713 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009858/0.5517, allocations: 1.239 MB / 0.5725 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009997/0.5527, allocations: 42.75 kB / 0.5726 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/0.5529, allocations: 90.03 kB / 0.5727 GB, free: 3.078 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007506/0.5537, allocations: 332.6 kB / 0.573 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.5539, allocations: 84.12 kB / 0.5731 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004235/0.5581, allocations: 2.454 MB / 0.5755 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002439/0.5606, allocations: 1.514 MB / 0.5769 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.5606, allocations: 3.375 kB / 0.5769 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.5606, allocations: 6.094 kB / 0.577 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005436/0.566, allocations: 2.85 MB / 0.5797 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.566, allocations: 0 / 0.5797 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008382/0.5669, allocations: 185.7 kB / 0.5799 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.5683, allocations: 291.7 kB / 0.5802 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/0.5684, allocations: 31.98 kB / 0.5802 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.5694, allocations: 1.209 MB / 0.5814 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5694, allocations: 0 / 0.5814 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00526/0.5747, allocations: 2.653 MB / 0.584 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009126/0.5756, allocations: 215.2 kB / 0.5842 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003498/0.5759, allocations: 24.19 kB / 0.5842 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000767/0.5767, allocations: 31.98 kB / 0.5842 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/0.5769, allocations: 76.86 kB / 0.5843 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.5771, allocations: 47.98 kB / 0.5844 GB, free: 9.961 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009978/0.5781, allocations: 0.5303 MB / 0.5849 GB, free: 9.438 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5781, allocations: 0 / 0.5849 GB, free: 9.438 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005559/0.5836, allocations: 1.28 MB / 0.5861 GB, free: 8.152 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (upperRespiratoryTract.chemicalSolution.substanceMasses[1],upperRespiratoryTract.chemicalSolution.substanceMasses[2],upperRespiratoryTract.chemicalSolution.substanceMasses[3],upperRespiratoryTract.chemicalSolution.substanceMasses[4],upperRespiratoryTract.enthalpy) * 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 (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007254/0.5909, allocations: 1.937 MB / 0.588 GB, free: 6.453 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004113/0.595, allocations: 1.595 MB / 0.5896 GB, free: 4.883 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.595, allocations: 4.312 kB / 0.5896 GB, free: 4.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.5966, allocations: 0.7512 MB / 0.5903 GB, free: 4.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/0.5996, allocations: 397.5 kB / 0.5907 GB, free: 3.766 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/0.6055, allocations: 2.607 MB / 0.5932 GB, free: 1.168 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008862/0.6064, allocations: 0.5335 MB / 0.5938 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001502/0.6079, allocations: 404.1 kB / 0.5942 GB, free: 228 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006777/0.6086, allocations: 207.6 kB / 0.5944 GB, free: 24 kB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6086, allocations: 0 / 0.5944 GB, free: 24 kB / 446.1 MB Notification: Performance of Templates: time 0.07841/0.687, allocations: 44.96 MB / 0.6383 GB, free: 3.527 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.186631932854652] Failed to read output from testmodel.py, exit status != 0: 0.6970247626304626 0.71050262 0.21220855700000002 Calling exit ...