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.1034/0.1034, allocations: 15.26 MB / 30.24 MB, free: 6.223 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.0008053/0.0008055, allocations: 107.1 kB / 35.25 MB, free: 1.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.001098/0.001098, allocations: 184.5 kB / 40.36 MB, free: 4.977 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.47/1.47, allocations: 223.3 MB / 268.6 MB, free: 2.113 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1762/0.1762, allocations: 23.38 MB / 347.3 MB, free: 6.855 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000482/0.000482, allocations: 12 kB / 419.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3421, allocations: 60.48 MB / 480 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.04639/0.3885, allocations: 55.18 MB / 0.5227 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02984/0.4184, allocations: 25.88 MB / 0.5479 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.42, allocations: 27.75 kB / 0.548 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.4213, allocations: 353.6 kB / 0.5483 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007387/0.4287, allocations: 2.294 MB / 0.5506 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009683/0.4385, allocations: 2.831 MB / 0.5533 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003283/0.4418, allocations: 2.21 MB / 0.5555 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.4431, allocations: 0.7966 MB / 0.5563 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006315/0.4495, allocations: 2.765 MB / 0.559 GB, free: 7.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/0.4519, allocations: 1.282 MB / 0.5602 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.4522, allocations: 76 kB / 0.5603 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01312/0.4653, allocations: 3.217 MB / 0.5634 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.4666, allocations: 0.5143 MB / 0.5639 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006317/0.4672, allocations: 277.1 kB / 0.5642 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008753/0.476, allocations: 4.029 MB / 0.5681 GB, free: 14.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.476, allocations: 0 / 0.5681 GB, free: 14.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.476, allocations: 0 / 0.5681 GB, free: 14.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.4761, allocations: 0 / 0.5681 GB, free: 14.49 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.004455/0.4805, allocations: 1.882 MB / 0.57 GB, free: 12.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.4806, allocations: 8.031 kB / 0.57 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.482, allocations: 349.8 kB / 0.5703 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.4833, allocations: 0.7246 MB / 0.571 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.246e-05/0.4834, allocations: 74 kB / 0.5711 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.4836, allocations: 103.9 kB / 0.5712 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/0.4865, allocations: 1.83 MB / 0.573 GB, free: 9.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.4865, allocations: 19.83 kB / 0.573 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.4866, allocations: 40 kB / 0.573 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.502e-05/0.4867, allocations: 53.98 kB / 0.5731 GB, free: 9.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003364/0.4901, allocations: 2.237 MB / 0.5753 GB, free: 7.016 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.009884/0.5, allocations: 6.325 MB / 0.5814 GB, free: 456 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3637/0.8637, allocations: 1.277 MB / 0.5827 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.8656, allocations: 0.7008 MB / 0.5834 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005521/0.8712, allocations: 3.517 MB / 0.5868 GB, free: 31.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.8712, allocations: 48.5 kB / 0.5868 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007048/0.872, allocations: 164.6 kB / 0.587 GB, free: 31.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 3.927e-06/0.872, allocations: 0 / 0.587 GB, free: 31.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.005059/0.877, allocations: 2.563 MB / 0.5895 GB, free: 31.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.8771, allocations: 63 kB / 0.5896 GB, free: 31.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.8782, allocations: 0.7531 MB / 0.5903 GB, free: 30.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.8783, allocations: 42.2 kB / 0.5903 GB, free: 30.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.8787, allocations: 0.4934 MB / 0.5908 GB, free: 30.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.879, allocations: 342.6 kB / 0.5912 GB, free: 30.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.8791, allocations: 22.56 kB / 0.5912 GB, free: 30.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.8792, allocations: 401.2 kB / 0.5916 GB, free: 30.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009339/0.8802, allocations: 0.6356 MB / 0.5922 GB, free: 30.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.8812, allocations: 0.9345 MB / 0.5931 GB, free: 29.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.8823, allocations: 0.7545 MB / 0.5938 GB, free: 29.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.8823, allocations: 2.781 kB / 0.5938 GB, free: 29.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003177/0.8855, allocations: 1.854 MB / 0.5956 GB, free: 29.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.8855, allocations: 12.16 kB / 0.5957 GB, free: 29.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/0.8856, allocations: 10 kB / 0.5957 GB, free: 29.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.8866, allocations: 194.5 kB / 0.5958 GB, free: 29.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.8877, allocations: 277.4 kB / 0.5961 GB, free: 29.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.8889, allocations: 1.252 MB / 0.5973 GB, free: 28.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.89, allocations: 76.69 kB / 0.5974 GB, free: 28.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.8902, allocations: 86.41 kB / 0.5975 GB, free: 28.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006194/0.8909, allocations: 325.5 kB / 0.5978 GB, free: 28.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.891, allocations: 89.25 kB / 0.5979 GB, free: 28.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/0.8953, allocations: 2.446 MB / 0.6003 GB, free: 28.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002253/0.8976, allocations: 1.492 MB / 0.6017 GB, free: 28.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.8976, allocations: 0 / 0.6017 GB, free: 28.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.8977, allocations: 4.875 kB / 0.6017 GB, free: 28.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/0.9018, allocations: 2.957 MB / 0.6046 GB, free: 27.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.9018, allocations: 2.812 kB / 0.6046 GB, free: 27.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006957/0.9025, allocations: 181.2 kB / 0.6048 GB, free: 27.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005939/0.9031, allocations: 184.5 kB / 0.605 GB, free: 27.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.908e-05/0.9032, allocations: 35.72 kB / 0.605 GB, free: 27.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006353/0.9038, allocations: 1.214 MB / 0.6062 GB, free: 26.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.9038, allocations: 2.812 kB / 0.6062 GB, free: 26.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003719/0.9076, allocations: 2.612 MB / 0.6087 GB, free: 26.31 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000638/0.9082, allocations: 317.8 kB / 0.6091 GB, free: 26.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.9084, allocations: 21.47 kB / 0.6091 GB, free: 26.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/0.9089, allocations: 63.28 kB / 0.6091 GB, free: 26.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.9091, allocations: 72.38 kB / 0.6092 GB, free: 26.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.204e-05/0.9092, allocations: 48.53 kB / 0.6092 GB, free: 26.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007645/0.9099, allocations: 0.606 MB / 0.6098 GB, free: 26.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9099, allocations: 0 / 0.6098 GB, free: 26.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003384/0.9133, allocations: 1.237 MB / 0.611 GB, free: 25.96 MB / 430.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 (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003533/0.9169, allocations: 1.83 MB / 0.6128 GB, free: 25.69 MB / 430.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.002959/0.9199, allocations: 1.692 MB / 0.6145 GB, free: 25.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.9199, allocations: 0.5 kB / 0.6145 GB, free: 25.62 MB / 430.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.001135/0.921, allocations: 0.8457 MB / 0.6153 GB, free: 25.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.9231, allocations: 439.8 kB / 0.6157 GB, free: 25.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.9271, allocations: 3.226 MB / 0.6189 GB, free: 24.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005641/0.9277, allocations: 1.127 MB / 0.62 GB, free: 23.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001471/0.9292, allocations: 411.1 kB / 0.6204 GB, free: 23.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/0.9296, allocations: 217.6 kB / 0.6206 GB, free: 23.37 MB / 430.1 MB Notification: Performance of SimCode: time 2.134e-06/0.9296, allocations: 4 kB / 0.6206 GB, free: 23.36 MB / 430.1 MB Notification: Performance of Templates: time 0.05765/0.9873, allocations: 43.34 MB / 0.6629 GB, free: 14.69 MB / 462.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)