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.111/0.111, allocations: 15.29 MB / 30.79 MB, free: 4.074 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.001076/0.001076, allocations: 95.89 kB / 35.77 MB, free: 3.27 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.001269/0.001269, allocations: 193.1 kB / 40.88 MB, free: 7.203 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.327/1.327, allocations: 222.9 MB / 268.7 MB, free: 6.891 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1285/0.1285, allocations: 23.36 MB / 346.4 MB, free: 0.7422 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 115.8 kB / 418.2 MB, free: 30.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09568/0.0978, allocations: 59.36 MB / 477.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.2859/0.3838, allocations: 59.2 MB / 0.5242 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02719/0.411, allocations: 28.06 MB / 0.5516 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.4122, allocations: 21.25 kB / 0.5516 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.4135, allocations: 428.4 kB / 0.552 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009189/0.4228, allocations: 2.688 MB / 0.5547 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01135/0.4341, allocations: 3.604 MB / 0.5582 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002636/0.4368, allocations: 1.897 MB / 0.56 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.438, allocations: 1.03 MB / 0.561 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005263/0.4433, allocations: 3.006 MB / 0.564 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004231/0.4476, allocations: 1.416 MB / 0.5653 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004042/0.448, allocations: 132.5 kB / 0.5655 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01279/0.4608, allocations: 4.118 MB / 0.5695 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008852/0.4617, allocations: 0.5579 MB / 0.57 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.4634, allocations: 0.7625 MB / 0.5708 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01694/0.4804, allocations: 5.599 MB / 0.5763 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4804, allocations: 0 / 0.5763 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4804, allocations: 0 / 0.5763 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8e-05/0.4805, allocations: 0 / 0.5763 GB, free: 11.28 MB / 398.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.005807/0.4863, allocations: 2.135 MB / 0.5783 GB, free: 9.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4864, allocations: 12.03 kB / 0.5784 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.4881, allocations: 347.1 kB / 0.5787 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.4899, allocations: 0.7591 MB / 0.5794 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-05/0.49, allocations: 85.94 kB / 0.5795 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/0.4903, allocations: 99.98 kB / 0.5796 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003629/0.4939, allocations: 1.838 MB / 0.5814 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.494, allocations: 3.938 kB / 0.5814 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.4941, allocations: 44 kB / 0.5814 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.499e-05/0.4942, allocations: 49.98 kB / 0.5815 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00392/0.4982, allocations: 2.249 MB / 0.5837 GB, free: 3.5 MB / 398.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.01042/0.5086, allocations: 6.393 MB / 0.5899 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.5112, allocations: 1.285 MB / 0.5912 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009963/0.5122, allocations: 0.6949 MB / 0.5919 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005481/0.5177, allocations: 3.55 MB / 0.5953 GB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.5177, allocations: 47.56 kB / 0.5954 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006381/0.5184, allocations: 122.9 kB / 0.5955 GB, free: 6.961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 6.422e-06/0.5184, allocations: 0 / 0.5955 GB, free: 6.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.005411/0.5238, allocations: 2.545 MB / 0.598 GB, free: 4.367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.5239, allocations: 68.34 kB / 0.598 GB, free: 4.285 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.525, allocations: 0.7544 MB / 0.5988 GB, free: 3.523 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.839e-05/0.5251, allocations: 41.7 kB / 0.5988 GB, free: 3.477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/0.5255, allocations: 0.4911 MB / 0.5993 GB, free: 2.977 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/0.5259, allocations: 354.9 kB / 0.5996 GB, free: 2.625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004899/0.5264, allocations: 254.6 kB / 0.5999 GB, free: 2.371 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002453/0.5266, allocations: 402.7 kB / 0.6003 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.5277, allocations: 0.635 MB / 0.6009 GB, free: 1.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.529, allocations: 0.9537 MB / 0.6018 GB, free: 260 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/0.5313, allocations: 1.65 MB / 0.6034 GB, free: 14.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.5313, allocations: 7.938 kB / 0.6034 GB, free: 14.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003177/0.5345, allocations: 1.868 MB / 0.6053 GB, free: 12.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.5345, allocations: 12.75 kB / 0.6053 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.5345, allocations: 8 kB / 0.6053 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007793/0.5353, allocations: 197.5 kB / 0.6055 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009837/0.5363, allocations: 279.6 kB / 0.6057 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.5375, allocations: 1.233 MB / 0.6069 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008338/0.5383, allocations: 39.98 kB / 0.607 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.5385, allocations: 83.95 kB / 0.6071 GB, free: 10.69 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.0005829/0.5391, allocations: 337.5 kB / 0.6074 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.5393, allocations: 94.78 kB / 0.6075 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00421/0.5436, allocations: 2.427 MB / 0.6098 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002511/0.5461, allocations: 1.492 MB / 0.6113 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.5461, allocations: 7.922 kB / 0.6113 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.5461, allocations: 3.984 kB / 0.6113 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005286/0.5514, allocations: 3.124 MB / 0.6144 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.5515, allocations: 0 / 0.6144 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007719/0.5522, allocations: 191.8 kB / 0.6145 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007041/0.553, allocations: 181.5 kB / 0.6147 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.32e-05/0.5531, allocations: 39.97 kB / 0.6148 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009244/0.554, allocations: 1.202 MB / 0.6159 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.554, allocations: 3.938 kB / 0.6159 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00426/0.5583, allocations: 2.632 MB / 0.6185 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005793/0.5589, allocations: 299.7 kB / 0.6188 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.5591, allocations: 19.94 kB / 0.6188 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/0.5597, allocations: 31.98 kB / 0.6188 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.5599, allocations: 68.91 kB / 0.6189 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.494e-05/0.56, allocations: 51.97 kB / 0.619 GB, free: 14.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008723/0.5608, allocations: 0.6122 MB / 0.6195 GB, free: 13.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5609, allocations: 4 kB / 0.6196 GB, free: 13.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003756/0.5646, allocations: 1.244 MB / 0.6208 GB, free: 12.42 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.004701/0.5693, allocations: 1.863 MB / 0.6226 GB, free: 10.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004271/0.5736, allocations: 1.98 MB / 0.6245 GB, free: 8.578 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.5736, allocations: 0 / 0.6245 GB, free: 8.578 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.5749, allocations: 0.8235 MB / 0.6253 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/0.5775, allocations: 491.2 kB / 0.6258 GB, free: 7.297 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/0.5825, allocations: 2.735 MB / 0.6285 GB, free: 4.531 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009231/0.5834, allocations: 1.129 MB / 0.6296 GB, free: 3.371 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001622/0.5851, allocations: 421.4 kB / 0.63 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/0.5856, allocations: 214.1 kB / 0.6302 GB, free: 2.766 MB / 446.1 MB Notification: Performance of SimCode: time 1.293e-06/0.5857, allocations: 3.938 kB / 0.6302 GB, free: 2.762 MB / 446.1 MB Notification: Performance of Templates: time 0.065/0.6507, allocations: 45.96 MB / 0.6751 GB, free: 5 MB / 494.1 MB 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)