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.09633/0.09633, allocations: 15.28 MB / 31.53 MB, free: 3.988 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.001259/0.001259, allocations: 113 kB / 36.54 MB, free: 3.266 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.001294/0.001294, allocations: 193.1 kB / 41.64 MB, free: 7.133 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.387/1.387, allocations: 222.9 MB / 269.5 MB, free: 6.832 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1348/0.1348, allocations: 23.36 MB / 347.2 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 107.8 kB / 419.7 MB, free: 29.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.1006, allocations: 59.37 MB / 479 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.2558/0.3564, allocations: 59.2 MB / 0.5256 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02624/0.3827, allocations: 28.06 MB / 0.553 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000912/0.3837, allocations: 19.66 kB / 0.553 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.3851, allocations: 426 kB / 0.5534 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007827/0.3929, allocations: 2.693 MB / 0.5561 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.4035, allocations: 3.611 MB / 0.5596 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002747/0.4063, allocations: 1.894 MB / 0.5614 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.4074, allocations: 1.019 MB / 0.5624 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004957/0.4124, allocations: 3.023 MB / 0.5654 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003617/0.416, allocations: 1.362 MB / 0.5667 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.4162, allocations: 128.2 kB / 0.5668 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01144/0.4277, allocations: 4.018 MB / 0.5708 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005709/0.4283, allocations: 0.5399 MB / 0.5713 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000791/0.4291, allocations: 0.7406 MB / 0.572 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01338/0.4425, allocations: 5.514 MB / 0.5774 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4425, allocations: 0 / 0.5774 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4425, allocations: 3.938 kB / 0.5774 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.234e-05/0.4425, allocations: 0 / 0.5774 GB, free: 10.99 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.00407/0.4466, allocations: 2.108 MB / 0.5795 GB, free: 8.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.4467, allocations: 8.031 kB / 0.5795 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.4478, allocations: 287.2 kB / 0.5798 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.4491, allocations: 0.7786 MB / 0.5805 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.344e-05/0.4492, allocations: 81.92 kB / 0.5806 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.4494, allocations: 96 kB / 0.5807 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.4519, allocations: 1.803 MB / 0.5824 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.452, allocations: 0 / 0.5824 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.4521, allocations: 47.92 kB / 0.5825 GB, free: 5.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002152/0.4523, allocations: 81.94 kB / 0.5826 GB, free: 5.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/0.4555, allocations: 2.245 MB / 0.5848 GB, free: 3.293 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.008752/0.4643, allocations: 6.358 MB / 0.591 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.4666, allocations: 1.289 MB / 0.5922 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009327/0.4675, allocations: 0.6987 MB / 0.5929 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005143/0.4727, allocations: 3.561 MB / 0.5964 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.4727, allocations: 39.56 kB / 0.5964 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004593/0.4732, allocations: 118.9 kB / 0.5965 GB, free: 6.781 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.494e-06/0.4732, allocations: 0 / 0.5965 GB, free: 6.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.005002/0.4782, allocations: 2.553 MB / 0.599 GB, free: 4.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.4783, allocations: 60.41 kB / 0.5991 GB, free: 4.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008863/0.4792, allocations: 0.7583 MB / 0.5998 GB, free: 3.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.797e-05/0.4792, allocations: 37.7 kB / 0.5999 GB, free: 3.297 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.4796, allocations: 0.4989 MB / 0.6004 GB, free: 2.789 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.4799, allocations: 342.9 kB / 0.6007 GB, free: 2.449 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/0.4802, allocations: 258.7 kB / 0.6009 GB, free: 2.191 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.4804, allocations: 402.7 kB / 0.6013 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009281/0.4814, allocations: 0.635 MB / 0.6019 GB, free: 1.152 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.4825, allocations: 0.9457 MB / 0.6029 GB, free: 84 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/0.4848, allocations: 1.662 MB / 0.6045 GB, free: 14.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.4848, allocations: 7.938 kB / 0.6045 GB, free: 14.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002974/0.4878, allocations: 1.873 MB / 0.6063 GB, free: 12.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4878, allocations: 8.125 kB / 0.6063 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.4878, allocations: 16 kB / 0.6063 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.4892, allocations: 289.4 kB / 0.6066 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009655/0.4901, allocations: 283.6 kB / 0.6069 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.4914, allocations: 1.237 MB / 0.6081 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008393/0.4922, allocations: 39.98 kB / 0.6081 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.4924, allocations: 83.95 kB / 0.6082 GB, free: 10.4 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.0005243/0.4929, allocations: 329.5 kB / 0.6085 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.4931, allocations: 90.78 kB / 0.6086 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/0.4974, allocations: 2.43 MB / 0.611 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002559/0.5, allocations: 1.503 MB / 0.6124 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5, allocations: 0 / 0.6124 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.5, allocations: 7.969 kB / 0.6125 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005308/0.5053, allocations: 3.109 MB / 0.6155 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.5053, allocations: 4 kB / 0.6155 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007633/0.5061, allocations: 187.8 kB / 0.6157 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.5073, allocations: 285.4 kB / 0.6159 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.88e-05/0.5074, allocations: 39.98 kB / 0.616 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009233/0.5084, allocations: 1.206 MB / 0.6172 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5084, allocations: 0 / 0.6172 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004222/0.5126, allocations: 2.63 MB / 0.6197 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006082/0.5132, allocations: 299.7 kB / 0.62 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.5134, allocations: 27.92 kB / 0.62 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005271/0.514, allocations: 23.98 kB / 0.6201 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.5141, allocations: 80.89 kB / 0.6201 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.5142, allocations: 43.98 kB / 0.6202 GB, free: 13.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007927/0.515, allocations: 0.6161 MB / 0.6208 GB, free: 13.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5151, allocations: 4 kB / 0.6208 GB, free: 13.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002845/0.5179, allocations: 1.244 MB / 0.622 GB, free: 12.04 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.003288/0.5212, allocations: 1.856 MB / 0.6238 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002824/0.524, allocations: 1.662 MB / 0.6254 GB, free: 8.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5241, allocations: 1.438 kB / 0.6254 GB, free: 8.523 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.5252, allocations: 0.8272 MB / 0.6263 GB, free: 7.691 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.5273, allocations: 483.5 kB / 0.6267 GB, free: 7.234 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.5313, allocations: 2.707 MB / 0.6294 GB, free: 4.496 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/0.5321, allocations: 1.133 MB / 0.6305 GB, free: 3.332 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001212/0.5334, allocations: 413.2 kB / 0.6309 GB, free: 2.945 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/0.5339, allocations: 218.2 kB / 0.6311 GB, free: 2.734 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5339, allocations: 0 / 0.6311 GB, free: 2.734 MB / 446.1 MB Notification: Performance of Templates: time 0.0652/0.5991, allocations: 46.09 MB / 0.6761 GB, free: 4.824 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 -s cvode -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1)