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-master/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-master/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-master/package.mo): time 0.09402/0.09402, allocations: 15.29 MB / 30.51 MB, free: 4.215 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.00097/0.00097, allocations: 106.3 kB / 35.48 MB, free: 3.355 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.001301/0.001302, allocations: 200.5 kB / 40.58 MB, free: 7.379 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.355/1.355, allocations: 222.9 MB / 268.4 MB, free: 7.746 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1381/0.1381, allocations: 23.35 MB / 346.1 MB, free: 0.7891 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 107.8 kB / 417.7 MB, free: 30.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.137, allocations: 59.38 MB / 477 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.3304/0.4674, allocations: 59.56 MB / 0.524 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03356/0.501, allocations: 27.79 MB / 0.5512 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.5028, allocations: 37.69 kB / 0.5512 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.5043, allocations: 380.4 kB / 0.5516 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009547/0.5139, allocations: 2.493 MB / 0.554 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01402/0.5279, allocations: 3.295 MB / 0.5572 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003173/0.5312, allocations: 1.899 MB / 0.5591 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.5326, allocations: 0.9989 MB / 0.56 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007111/0.5398, allocations: 3.045 MB / 0.563 GB, free: 6.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007306/0.5471, allocations: 1.519 MB / 0.5645 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005506/0.5477, allocations: 134.2 kB / 0.5646 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01725/0.5649, allocations: 4.344 MB / 0.5689 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.566, allocations: 0.5612 MB / 0.5694 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.5671, allocations: 0.7664 MB / 0.5702 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01844/0.5856, allocations: 5.487 MB / 0.5755 GB, free: 12.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.5857, allocations: 7.938 kB / 0.5755 GB, free: 12.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5857, allocations: 0 / 0.5755 GB, free: 12.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.841e-05/0.5857, allocations: 0 / 0.5755 GB, free: 12.71 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.00475/0.5905, allocations: 2.136 MB / 0.5776 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.5905, allocations: 12.03 kB / 0.5776 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.592, allocations: 343.1 kB / 0.578 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.5932, allocations: 0.7631 MB / 0.5787 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.907e-05/0.5933, allocations: 78 kB / 0.5788 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.5935, allocations: 107.9 kB / 0.5789 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/0.5962, allocations: 1.842 MB / 0.5807 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.5962, allocations: 7.969 kB / 0.5807 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.5964, allocations: 36 kB / 0.5807 GB, free: 7.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.085e-05/0.5965, allocations: 53.98 kB / 0.5808 GB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/0.5996, allocations: 2.249 MB / 0.583 GB, free: 4.926 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.008809/0.6085, allocations: 6.37 MB / 0.5892 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.6108, allocations: 1.293 MB / 0.5905 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009617/0.6118, allocations: 0.6949 MB / 0.5911 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004858/0.6167, allocations: 3.554 MB / 0.5946 GB, free: 8.574 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.6168, allocations: 43.56 kB / 0.5946 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006502/0.6174, allocations: 146.8 kB / 0.5948 GB, free: 8.379 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.976e-06/0.6174, allocations: 0 / 0.5948 GB, free: 8.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.005096/0.6225, allocations: 2.553 MB / 0.5973 GB, free: 5.781 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.6226, allocations: 60.41 kB / 0.5973 GB, free: 5.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009426/0.6235, allocations: 0.7659 MB / 0.5981 GB, free: 4.934 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.631e-05/0.6236, allocations: 37.7 kB / 0.5981 GB, free: 4.891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.624, allocations: 0.4989 MB / 0.5986 GB, free: 4.383 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.6243, allocations: 342.9 kB / 0.5989 GB, free: 4.043 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003766/0.6247, allocations: 258.7 kB / 0.5992 GB, free: 3.785 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.6249, allocations: 406.7 kB / 0.5996 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009221/0.6258, allocations: 0.635 MB / 0.6002 GB, free: 2.742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.6269, allocations: 0.9344 MB / 0.6011 GB, free: 1.684 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/0.6291, allocations: 1.662 MB / 0.6027 GB, free: 15.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.6291, allocations: 7.938 kB / 0.6027 GB, free: 15.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002894/0.632, allocations: 1.868 MB / 0.6046 GB, free: 14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.6321, allocations: 8 kB / 0.6046 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.6321, allocations: 15.94 kB / 0.6046 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007924/0.6329, allocations: 190.1 kB / 0.6048 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009821/0.6339, allocations: 279.6 kB / 0.605 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.635, allocations: 1.241 MB / 0.6062 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.6361, allocations: 75.89 kB / 0.6063 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.6362, allocations: 83.97 kB / 0.6064 GB, free: 12.07 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.0006126/0.6368, allocations: 321.4 kB / 0.6067 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.637, allocations: 90.88 kB / 0.6068 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00421/0.6413, allocations: 2.432 MB / 0.6092 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002515/0.6438, allocations: 1.499 MB / 0.6106 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6438, allocations: 0 / 0.6106 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.6438, allocations: 3.984 kB / 0.6106 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005296/0.6491, allocations: 3.128 MB / 0.6137 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.6492, allocations: 4 kB / 0.6137 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007501/0.6499, allocations: 187.7 kB / 0.6139 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006403/0.6506, allocations: 181.6 kB / 0.614 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-05/0.6507, allocations: 31.98 kB / 0.6141 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008601/0.6515, allocations: 1.21 MB / 0.6152 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6515, allocations: 4.031 kB / 0.6153 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004157/0.6557, allocations: 2.624 MB / 0.6178 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007413/0.6565, allocations: 295.9 kB / 0.6181 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.6567, allocations: 31.92 kB / 0.6181 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/0.6574, allocations: 51.88 kB / 0.6182 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.6576, allocations: 76.84 kB / 0.6183 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.6577, allocations: 47.97 kB / 0.6183 GB, free: 15.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008627/0.6585, allocations: 0.6122 MB / 0.6189 GB, free: 15.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6585, allocations: 0 / 0.6189 GB, free: 15.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003503/0.6621, allocations: 1.244 MB / 0.6201 GB, free: 13.78 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.003747/0.6658, allocations: 1.869 MB / 0.6219 GB, free: 11.92 MB / 446.1 MB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {pH2O_upperRespiratory.state.X[1], pH2O_upperRespiratory.state.X[2], pH2O_upperRespiratory.state.X[3], pH2O_upperRespiratory.state.X[4]} = $TMP_Physiolibrary_Fluid_Examples_AirWaterSaturation_pH2O__upperRespiratory_Medium_ThermodynamicState54.X Notification: Performance of simCode: created initialization part: time 0.004111/0.6699, allocations: 2.01 MB / 0.6239 GB, free: 9.906 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.67, allocations: 1.438 kB / 0.6239 GB, free: 9.906 MB / 446.1 MB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {pH2O_upperRespiratory.state.X[1], pH2O_upperRespiratory.state.X[2], pH2O_upperRespiratory.state.X[3], pH2O_upperRespiratory.state.X[4]} = $TMP_Physiolibrary_Fluid_Examples_AirWaterSaturation_pH2O__upperRespiratory_Medium_ThermodynamicState204.X Notification: Performance of simCode: created simulation system equations: time 0.001257/0.6712, allocations: 0.8621 MB / 0.6247 GB, free: 9.043 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.6736, allocations: 488.9 kB / 0.6252 GB, free: 8.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004461/0.6781, allocations: 3.169 MB / 0.6283 GB, free: 5.391 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006976/0.6788, allocations: 1.141 MB / 0.6294 GB, free: 4.219 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0016/0.6804, allocations: 405.6 kB / 0.6298 GB, free: 3.836 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/0.6809, allocations: 214.7 kB / 0.63 GB, free: 3.629 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6809, allocations: 7.938 kB / 0.63 GB, free: 3.621 MB / 446.1 MB Notification: Performance of Templates: time 0.06475/0.7456, allocations: 46.38 MB / 0.6753 GB, free: 5.441 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)