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.07272/0.07272, allocations: 11.15 MB / 21.05 MB, free: 4.625 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.022/0.09472, allocations: 4.825 MB / 25.87 MB, free: 16 kB / 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.0007132/0.0007132, allocations: 71.7 kB / 26.71 MB, free: 7.773 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002152, allocations: 452.7 kB / 27.15 MB, free: 7.527 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.0007665/0.0007665, allocations: 159.6 kB / 28.06 MB, free: 6.836 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001871, allocations: 466.7 kB / 28.52 MB, free: 6.473 MB / 33.03 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 0.9259/0.9259, allocations: 177.2 MB / 206.5 MB, free: 4.352 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1804/1.106, allocations: 53.66 MB / 260.1 MB, free: 0.9258 MB / 250.7 MB " [Timeout remaining time 179] 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.1348/0.1348, allocations: 17.64 MB / 278.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01305/0.1478, allocations: 6.521 MB / 285 MB, free: 8.066 MB / 282.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 2.034e-06/2.034e-06, allocations: 0 / 287.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.473e-05, allocations: 2.312 kB / 287.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.01809/0.01812, allocations: 21.79 MB / 309.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009578/0.0277, allocations: 8.221 MB / 317.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006736/0.02837, allocations: 19.81 kB / 317.6 MB, free: 7.363 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008511/0.02922, allocations: 305.8 kB / 317.9 MB, free: 7.062 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003179/0.0324, allocations: 1.533 MB / 319.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003444/0.03584, allocations: 1.542 MB / 321 MB, free: 3.969 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00195/0.03779, allocations: 1.932 MB / 322.9 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.03882, allocations: 0.7635 MB / 323.7 MB, free: 1.234 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002293/0.04112, allocations: 1.591 MB / 325.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003286/0.0444, allocations: 1.511 MB / 326.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.04465, allocations: 132 kB / 326.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003301/0.04795, allocations: 1.423 MB / 328.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006865/0.04864, allocations: 490.9 kB / 328.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005381/0.04918, allocations: 463.3 kB / 329.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003936/0.05311, allocations: 2.604 MB / 331.8 MB, free: 9.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.05312, allocations: 0 / 331.8 MB, free: 9.234 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.05313, allocations: 4 kB / 331.9 MB, free: 9.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.18e-05/0.05316, allocations: 4 kB / 331.9 MB, free: 9.227 MB / 330.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.00285/0.05601, allocations: 2.151 MB / 334 MB, free: 7.027 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.05604, allocations: 11.89 kB / 334 MB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.05714, allocations: 455.2 kB / 334.5 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009129/0.05805, allocations: 0.5739 MB / 335 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.617e-05/0.05812, allocations: 77.94 kB / 335.1 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.05827, allocations: 96 kB / 335.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.0596, allocations: 1.05 MB / 336.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.05962, allocations: 3.938 kB / 336.3 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.981e-05/0.05972, allocations: 40 kB / 336.3 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/0.05985, allocations: 61.97 kB / 336.4 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.0611, allocations: 0.7625 MB / 337.1 MB, free: 3.805 MB / 330.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.1843/0.2453, allocations: 3.748 MB / 340.9 MB, free: 28.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.2467, allocations: 0.6672 MB / 341.5 MB, free: 28.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.247, allocations: 212.1 kB / 341.7 MB, free: 28.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002745/0.2498, allocations: 1.786 MB / 343.5 MB, free: 28.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.2498, allocations: 41.86 kB / 343.6 MB, free: 28.38 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003523/0.2501, allocations: 137.7 kB / 343.7 MB, free: 28.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=100): time 4.318e-06/0.2502, allocations: 0 / 343.7 MB, free: 28.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.001708/0.2519, allocations: 0.9555 MB / 344.7 MB, free: 28.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.2519, allocations: 63.53 kB / 344.7 MB, free: 28.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.2523, allocations: 0.5651 MB / 345.3 MB, free: 28.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.2524, allocations: 40.48 kB / 345.3 MB, free: 28.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.2526, allocations: 460.1 kB / 345.8 MB, free: 27.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.2528, allocations: 360.1 kB / 346.1 MB, free: 27.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.253, allocations: 237.8 kB / 346.4 MB, free: 27.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2531, allocations: 401.9 kB / 346.8 MB, free: 27.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.2535, allocations: 215.2 kB / 347 MB, free: 27.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.254, allocations: 0.5037 MB / 347.5 MB, free: 26.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.255, allocations: 0.8757 MB / 348.3 MB, free: 26.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/0.255, allocations: 6.375 kB / 348.4 MB, free: 26.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.001328/0.2564, allocations: 0.83 MB / 349.2 MB, free: 26.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.2564, allocations: 8 kB / 349.2 MB, free: 26.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.2564, allocations: 9.406 kB / 349.2 MB, free: 26.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008565/0.2573, allocations: 243.2 kB / 349.4 MB, free: 26.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/0.258, allocations: 351 kB / 349.8 MB, free: 26.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003796/0.2583, allocations: 1.084 MB / 350.9 MB, free: 25.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004788/0.2588, allocations: 46.39 kB / 350.9 MB, free: 25.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.2589, allocations: 71.98 kB / 351 MB, free: 25.44 MB / 330.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.0003036/0.2593, allocations: 181.8 kB / 351.2 MB, free: 25.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.2594, allocations: 73.22 kB / 351.2 MB, free: 25.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.2613, allocations: 1.464 MB / 352.7 MB, free: 25.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006455/0.2619, allocations: 0.5384 MB / 353.2 MB, free: 25.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2619, allocations: 0.6562 kB / 353.2 MB, free: 25.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.2619, allocations: 6.75 kB / 353.2 MB, free: 25.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.2639, allocations: 1.444 MB / 354.7 MB, free: 24.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2639, allocations: 0 / 354.7 MB, free: 24.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005065/0.2644, allocations: 224.7 kB / 354.9 MB, free: 24.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.2647, allocations: 156 kB / 355.1 MB, free: 24.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007465/0.2655, allocations: 227 kB / 355.3 MB, free: 24.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.894e-05/0.2655, allocations: 32.23 kB / 355.3 MB, free: 24.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003231/0.2658, allocations: 1.094 MB / 356.4 MB, free: 23.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2658, allocations: 0 / 356.4 MB, free: 23.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009465/0.2668, allocations: 0.9463 MB / 357.3 MB, free: 23.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.2669, allocations: 24.73 kB / 357.4 MB, free: 23.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.2671, allocations: 20.94 kB / 357.4 MB, free: 23.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/0.2672, allocations: 75.36 kB / 357.5 MB, free: 23.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/0.2673, allocations: 42.12 kB / 357.5 MB, free: 23.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000218/0.2675, allocations: 278.3 kB / 357.8 MB, free: 23.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2675, allocations: 0 / 357.8 MB, free: 23.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001243/0.2687, allocations: 0.6837 MB / 358.5 MB, free: 23.19 MB / 330.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.001061/0.2698, allocations: 0.7767 MB / 359.2 MB, free: 23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009533/0.2707, allocations: 0.7421 MB / 360 MB, free: 22.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-05/0.2708, allocations: 20.94 kB / 360 MB, free: 22.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.2712, allocations: 479 kB / 360.5 MB, free: 22.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.2725, allocations: 2.3 MB / 362.8 MB, free: 20.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.2853, allocations: 2.175 MB / 364.9 MB, free: 19.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.2856, allocations: 254.1 kB / 365.2 MB, free: 19.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009415/0.2866, allocations: 281.8 kB / 365.5 MB, free: 19.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008152/0.2874, allocations: 456.6 kB / 365.9 MB, free: 19.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.723e-06/0.2874, allocations: 0 / 365.9 MB, free: 19.64 MB / 330.7 MB Notification: Performance of Templates: time 0.03917/0.3265, allocations: 35.92 MB / 401.8 MB, free: 2.703 MB / 346.7 MB " [Timeout remaining time 660] 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: 3.790660119615495]