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.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.08976/0.08976, allocations: 11.16 MB / 30.51 MB, free: 4.926 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 99.53 kB / 38.16 MB, free: 7.371 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 160.5 kB / 45.86 MB, free: 10.71 MB / 44.04 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 177.2 MB / 230.6 MB, free: 6.383 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.2788/0.2788, allocations: 17.63 MB / 309.1 MB, free: 1.703 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.AirWaterSaturation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation") translateModel(Physiolibrary.Fluid.Examples.AirWaterSaturation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 391.7 MB, free: 3.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.154e-05, allocations: 2.312 kB / 391.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.08464/0.08467, allocations: 59.98 MB / 451.6 MB, free: 7.629 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2249/0.3096, allocations: 28.38 MB / 480 MB, free: 48.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.3108, allocations: 20.94 kB / 480.1 MB, free: 48.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.3123, allocations: 421.4 kB / 480.5 MB, free: 48.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008088/0.3204, allocations: 2.778 MB / 483.2 MB, free: 48.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01209/0.3324, allocations: 3.798 MB / 487 MB, free: 47.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002919/0.3354, allocations: 1.938 MB / 489 MB, free: 47.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.3366, allocations: 0.7609 MB / 489.7 MB, free: 46.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007335/0.3439, allocations: 3.365 MB / 493.1 MB, free: 46.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006845/0.3507, allocations: 1.516 MB / 494.6 MB, free: 46.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004485/0.3512, allocations: 127.4 kB / 494.7 MB, free: 46.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/0.3632, allocations: 3.669 MB / 498.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009202/0.3641, allocations: 0.5709 MB / 499 MB, free: 46.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.3654, allocations: 0.5556 MB / 499.5 MB, free: 46.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01901/0.3844, allocations: 5.78 MB / 0.4935 GB, free: 45.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3844, allocations: 2.562 kB / 0.4935 GB, free: 45.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.3844, allocations: 1.125 kB / 0.4935 GB, free: 45.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.43e-05/0.3845, allocations: 0 / 0.4935 GB, free: 45.21 MB / 410.7 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.006165/0.3906, allocations: 2.253 MB / 0.4957 GB, free: 44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.3907, allocations: 9.188 kB / 0.4957 GB, free: 44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.3923, allocations: 487.4 kB / 0.4962 GB, free: 43.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.3939, allocations: 0.6975 MB / 0.4968 GB, free: 43.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.894e-05/0.3939, allocations: 78.48 kB / 0.4969 GB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.3942, allocations: 100.5 kB / 0.497 GB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.3965, allocations: 1.392 MB / 0.4984 GB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.3966, allocations: 1.062 kB / 0.4984 GB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.3967, allocations: 38.03 kB / 0.4984 GB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002516/0.397, allocations: 79.84 kB / 0.4985 GB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/0.3998, allocations: 1.455 MB / 0.4999 GB, free: 42.43 MB / 410.7 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.009356/0.4092, allocations: 5.361 MB / 0.5051 GB, free: 39.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.4111, allocations: 0.8326 MB / 0.5059 GB, free: 38.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/0.4118, allocations: 380.3 kB / 0.5063 GB, free: 38.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00485/0.4167, allocations: 2.305 MB / 0.5086 GB, free: 37.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.4167, allocations: 42.27 kB / 0.5086 GB, free: 37.68 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000751/0.4175, allocations: 136.9 kB / 0.5087 GB, free: 37.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.537e-06/0.4175, allocations: 0 / 0.5087 GB, free: 37.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=100): time 0.004058/0.4215, allocations: 1.518 MB / 0.5102 GB, free: 37.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.4216, allocations: 67.27 kB / 0.5103 GB, free: 37.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008664/0.4224, allocations: 0.7635 MB / 0.511 GB, free: 36.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.104e-05/0.4225, allocations: 40.67 kB / 0.5111 GB, free: 36.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.4228, allocations: 0.5866 MB / 0.5116 GB, free: 36.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000277/0.4231, allocations: 392.4 kB / 0.512 GB, free: 35.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004276/0.4235, allocations: 293.8 kB / 0.5123 GB, free: 35.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.4237, allocations: 0.6232 MB / 0.5129 GB, free: 35.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006963/0.4244, allocations: 332.8 kB / 0.5132 GB, free: 35.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.4256, allocations: 0.7872 MB / 0.514 GB, free: 34.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.4276, allocations: 1.231 MB / 0.5152 GB, free: 33.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.4276, allocations: 3.125 kB / 0.5152 GB, free: 33.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002994/0.4306, allocations: 1.311 MB / 0.5165 GB, free: 33.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.4307, allocations: 13.84 kB / 0.5165 GB, free: 33.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.4307, allocations: 8.312 kB / 0.5165 GB, free: 33.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.432, allocations: 261.2 kB / 0.5167 GB, free: 33.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009917/0.433, allocations: 283.3 kB / 0.517 GB, free: 33.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009515/0.434, allocations: 1.719 MB / 0.5187 GB, free: 31.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000977/0.435, allocations: 40.17 kB / 0.5187 GB, free: 31.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.4351, allocations: 85.91 kB / 0.5188 GB, free: 31.63 MB / 410.7 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.0005801/0.4357, allocations: 273.8 kB / 0.5191 GB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/0.436, allocations: 119.1 kB / 0.5192 GB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003724/0.4397, allocations: 2.111 MB / 0.5212 GB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0018/0.4415, allocations: 0.9332 MB / 0.5222 GB, free: 30.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.4415, allocations: 3.938 kB / 0.5222 GB, free: 30.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.4415, allocations: 3.844 kB / 0.5222 GB, free: 30.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004657/0.4462, allocations: 2.304 MB / 0.5244 GB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.4462, allocations: 3.469 kB / 0.5244 GB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007349/0.4469, allocations: 184 kB / 0.5246 GB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.4481, allocations: 260 kB / 0.5248 GB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/0.4482, allocations: 32 kB / 0.5249 GB, free: 29.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007703/0.4489, allocations: 1.699 MB / 0.5265 GB, free: 27.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4489, allocations: 0 / 0.5265 GB, free: 27.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/0.4522, allocations: 1.722 MB / 0.5282 GB, free: 26.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007041/0.4529, allocations: 201.5 kB / 0.5284 GB, free: 26.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.4531, allocations: 21.28 kB / 0.5284 GB, free: 26.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/0.4537, allocations: 30.59 kB / 0.5285 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.4539, allocations: 76.86 kB / 0.5285 GB, free: 26.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.454, allocations: 45.83 kB / 0.5286 GB, free: 26.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006527/0.4546, allocations: 0.5188 MB / 0.5291 GB, free: 26.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4546, allocations: 0 / 0.5291 GB, free: 26.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004398/0.459, allocations: 1.284 MB / 0.5303 GB, free: 25.98 MB / 410.7 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.004648/0.4637, allocations: 1.941 MB / 0.5322 GB, free: 25.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.4662, allocations: 1.059 MB / 0.5333 GB, free: 24.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4662, allocations: 0 / 0.5333 GB, free: 24.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008236/0.467, allocations: 0.5461 MB / 0.5338 GB, free: 24.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/0.4693, allocations: 441.4 kB / 0.5342 GB, free: 24.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.4728, allocations: 2.266 MB / 0.5364 GB, free: 22.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.4733, allocations: 0.511 MB / 0.5369 GB, free: 21.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001156/0.4745, allocations: 372.8 kB / 0.5373 GB, free: 21.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004751/0.475, allocations: 213.9 kB / 0.5375 GB, free: 21.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.893e-06/0.475, allocations: 0 / 0.5375 GB, free: 21.17 MB / 410.7 MB Notification: Performance of Templates: time 0.06808/0.543, allocations: 45.19 MB / 0.5816 GB, free: 9.977 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.makefile [Timeout 660] (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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.0826580540742725]