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.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.AirWaterSaturation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation") translateModel(Physiolibrary.Fluid.Examples.AirWaterSaturation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1083/0.1083, allocations: 15.28 MB / 30.88 MB, free: 4.281 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 116 kB / 35.89 MB, free: 3.176 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 193.1 kB / 40.99 MB, free: 7.191 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 268.8 MB, free: 6.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1322/0.1322, allocations: 23.35 MB / 346.5 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 107.8 kB / 480 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2815, allocations: 59.35 MB / 0.5267 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.05425/0.3358, allocations: 59.23 MB / 0.5845 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02745/0.3633, allocations: 28.06 MB / 0.6119 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009086/0.3642, allocations: 15.94 kB / 0.6119 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.3654, allocations: 433.1 kB / 0.6124 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006493/0.372, allocations: 2.685 MB / 0.615 GB, free: 9.281 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008332/0.3803, allocations: 3.607 MB / 0.6185 GB, free: 5.652 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002217/0.3826, allocations: 1.898 MB / 0.6204 GB, free: 3.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.3837, allocations: 1.021 MB / 0.6214 GB, free: 2.699 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005064/0.3888, allocations: 3.014 MB / 0.6243 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003837/0.3927, allocations: 1.371 MB / 0.6256 GB, free: 14.4 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000244/0.3929, allocations: 128 kB / 0.6258 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009982/0.4029, allocations: 4.02 MB / 0.6297 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006432/0.4036, allocations: 0.5338 MB / 0.6302 GB, free: 9.711 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008854/0.4045, allocations: 0.7469 MB / 0.6309 GB, free: 8.961 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.4154, allocations: 5.521 MB / 0.6363 GB, free: 3.422 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4154, allocations: 0 / 0.6363 GB, free: 3.422 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4154, allocations: 0 / 0.6363 GB, free: 3.422 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.834e-05/0.4154, allocations: 0 / 0.6363 GB, free: 3.422 MB / 478.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.003708/0.4191, allocations: 2.1 MB / 0.6384 GB, free: 1.266 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.4192, allocations: 11.97 kB / 0.6384 GB, free: 1.254 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.4204, allocations: 286.2 kB / 0.6387 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.4215, allocations: 0.7631 MB / 0.6394 GB, free: 168 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/0.4216, allocations: 78 kB / 0.6395 GB, free: 92 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.4218, allocations: 96.05 kB / 0.6396 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.4244, allocations: 1.803 MB / 0.6413 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.4244, allocations: 11.94 kB / 0.6413 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.4246, allocations: 40 kB / 0.6414 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002262/0.4248, allocations: 77.94 kB / 0.6415 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003318/0.4281, allocations: 2.249 MB / 0.6437 GB, free: 11.74 MB / 494.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.00816/0.4363, allocations: 6.36 MB / 0.6499 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/0.4386, allocations: 1.281 MB / 0.6511 GB, free: 3.848 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000967/0.4396, allocations: 0.7027 MB / 0.6518 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004698/0.4443, allocations: 3.557 MB / 0.6553 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.4444, allocations: 43.56 kB / 0.6553 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004953/0.4449, allocations: 118.9 kB / 0.6554 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 3.366e-06/0.4449, allocations: 0 / 0.6554 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.00538/0.4503, allocations: 2.545 MB / 0.6579 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.4503, allocations: 72.28 kB / 0.658 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008761/0.4512, allocations: 0.7621 MB / 0.6587 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/0.4513, allocations: 41.7 kB / 0.6588 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.4516, allocations: 0.495 MB / 0.6593 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.4519, allocations: 343 kB / 0.6596 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/0.4523, allocations: 254.7 kB / 0.6598 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4524, allocations: 414.6 kB / 0.6602 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009564/0.4534, allocations: 0.635 MB / 0.6608 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.4546, allocations: 0.9381 MB / 0.6618 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.4568, allocations: 1.658 MB / 0.6634 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.4568, allocations: 4 kB / 0.6634 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003002/0.4599, allocations: 1.872 MB / 0.6652 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4599, allocations: 11.94 kB / 0.6652 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.4599, allocations: 8.688 kB / 0.6652 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.4614, allocations: 301.4 kB / 0.6655 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009886/0.4624, allocations: 283.6 kB / 0.6658 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.4634, allocations: 1.241 MB / 0.667 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007862/0.4642, allocations: 39.89 kB / 0.667 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.4644, allocations: 87.95 kB / 0.6671 GB, free: 2.844 MB / 0.4981 GB 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.0005283/0.4649, allocations: 317.4 kB / 0.6674 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.4651, allocations: 95.03 kB / 0.6675 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/0.4693, allocations: 2.426 MB / 0.6699 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002603/0.4719, allocations: 1.495 MB / 0.6713 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.4719, allocations: 3.938 kB / 0.6713 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.472, allocations: 3.984 kB / 0.6713 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005032/0.477, allocations: 3.12 MB / 0.6744 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.477, allocations: 3.938 kB / 0.6744 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007909/0.4778, allocations: 191.7 kB / 0.6746 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.4791, allocations: 289.5 kB / 0.6749 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/0.4792, allocations: 43.91 kB / 0.6749 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008914/0.4801, allocations: 1.198 MB / 0.6761 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.4801, allocations: 7.969 kB / 0.6761 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004206/0.4843, allocations: 2.63 MB / 0.6786 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004877/0.4848, allocations: 299.7 kB / 0.6789 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.485, allocations: 20 kB / 0.6789 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/0.4856, allocations: 23.98 kB / 0.679 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.4857, allocations: 72.91 kB / 0.679 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.145e-05/0.4858, allocations: 47.98 kB / 0.6791 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00077/0.4866, allocations: 0.6161 MB / 0.6797 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4866, allocations: 0 / 0.6797 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002808/0.4894, allocations: 1.244 MB / 0.6809 GB, free: 4.492 MB / 0.5137 GB 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.003225/0.4927, allocations: 1.858 MB / 0.6827 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002756/0.4954, allocations: 1.662 MB / 0.6843 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4954, allocations: 0 / 0.6843 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.4966, allocations: 0.8208 MB / 0.6851 GB, free: 152 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.4988, allocations: 484.4 kB / 0.6856 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/0.5028, allocations: 2.715 MB / 0.6883 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000729/0.5036, allocations: 1.133 MB / 0.6894 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001207/0.5048, allocations: 416 kB / 0.6898 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/0.5053, allocations: 217.7 kB / 0.69 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.5053, allocations: 0 / 0.69 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.2575/0.7628, allocations: 46.08 MB / 0.735 GB, free: 183.8 MB / 0.5606 GB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.makefile (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)