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.05316/0.05316, allocations: 11.15 MB / 30.72 MB, free: 4.453 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.001362/0.001362, allocations: 103.8 kB / 38.41 MB, free: 6.996 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.00156/0.00156, allocations: 160.5 kB / 46.17 MB, free: 10.33 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 0.9178/0.9178, allocations: 177.1 MB / 231 MB, free: 2.066 MB / 202.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.1776/0.1776, allocations: 17.62 MB / 309.5 MB, free: 1.945 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.523e-06/1.523e-06, allocations: 0 / 392.5 MB, free: 3.445 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.586e-05, allocations: 2.312 kB / 392.5 MB, free: 3.441 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.02131/0.02134, allocations: 21.64 MB / 414.1 MB, free: 13.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009123/0.03046, allocations: 8.156 MB / 422.3 MB, free: 5.531 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005992/0.03106, allocations: 23.81 kB / 422.3 MB, free: 5.508 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009191/0.03198, allocations: 301.7 kB / 422.6 MB, free: 5.211 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003106/0.03509, allocations: 1.541 MB / 424.1 MB, free: 3.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003121/0.03821, allocations: 1.538 MB / 425.7 MB, free: 2.113 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.04023, allocations: 1.921 MB / 427.6 MB, free: 188 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.04129, allocations: 0.7674 MB / 428.4 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.04368, allocations: 1.543 MB / 429.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003418/0.0471, allocations: 1.515 MB / 431.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002633/0.04736, allocations: 132 kB / 431.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003238/0.0506, allocations: 1.391 MB / 432.9 MB, free: 11.03 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004801/0.05108, allocations: 0.5689 MB / 433.5 MB, free: 10.46 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006331/0.05171, allocations: 0.5614 MB / 434.1 MB, free: 9.898 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004071/0.05578, allocations: 2.857 MB / 436.9 MB, free: 7.031 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.05579, allocations: 4 kB / 436.9 MB, free: 7.027 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.05579, allocations: 0 / 436.9 MB, free: 7.027 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.315e-05/0.05583, allocations: 4 kB / 436.9 MB, free: 7.023 MB / 394.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.00253/0.05836, allocations: 1.814 MB / 438.7 MB, free: 5.168 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.0584, allocations: 8.031 kB / 438.7 MB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009046/0.0593, allocations: 478.6 kB / 439.2 MB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009107/0.06021, allocations: 0.6909 MB / 439.9 MB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/0.06026, allocations: 85.92 kB / 440 MB, free: 3.887 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.06039, allocations: 96 kB / 440.1 MB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.06177, allocations: 1.178 MB / 441.3 MB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.06179, allocations: 0 / 441.3 MB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.533e-05/0.06186, allocations: 39.98 kB / 441.3 MB, free: 2.496 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/0.06199, allocations: 81.94 kB / 441.4 MB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.0634, allocations: 1.046 MB / 442.4 MB, free: 1.367 MB / 394.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.1402/0.2036, allocations: 4.761 MB / 447.2 MB, free: 72.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.2049, allocations: 0.754 MB / 447.9 MB, free: 71.99 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/0.2053, allocations: 291 kB / 448.2 MB, free: 71.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002821/0.2082, allocations: 2.093 MB / 450.3 MB, free: 71.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.2082, allocations: 48.22 kB / 450.4 MB, free: 71.6 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003861/0.2086, allocations: 126.5 kB / 450.5 MB, free: 71.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 3.667e-06/0.2086, allocations: 6.562 kB / 450.5 MB, free: 71.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=100): time 0.00243/0.211, allocations: 1.278 MB / 451.8 MB, free: 71.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.211, allocations: 60.75 kB / 451.8 MB, free: 71.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.2115, allocations: 0.6464 MB / 452.5 MB, free: 71.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.2116, allocations: 43.19 kB / 452.5 MB, free: 71.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.2118, allocations: 0.5576 MB / 453.1 MB, free: 70.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.212, allocations: 367.9 kB / 453.4 MB, free: 70.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/0.2123, allocations: 259.6 kB / 453.7 MB, free: 70.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2124, allocations: 0.5797 MB / 454.3 MB, free: 70.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004284/0.2128, allocations: 245.9 kB / 454.5 MB, free: 70.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.2134, allocations: 0.6593 MB / 455.2 MB, free: 69.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.2144, allocations: 0.9904 MB / 456.2 MB, free: 69.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.2144, allocations: 6.969 kB / 456.2 MB, free: 69.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00164/0.2161, allocations: 1.109 MB / 457.3 MB, free: 69.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2161, allocations: 13.88 kB / 457.3 MB, free: 69.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.2161, allocations: 11.59 kB / 457.3 MB, free: 69.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009134/0.217, allocations: 244 kB / 457.5 MB, free: 69.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006595/0.2177, allocations: 280.6 kB / 457.8 MB, free: 69.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004983/0.2182, allocations: 1.656 MB / 459.5 MB, free: 67.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.2186, allocations: 40.83 kB / 459.5 MB, free: 67.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.2188, allocations: 85.02 kB / 459.6 MB, free: 67.43 MB / 394.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.000226/0.219, allocations: 223.5 kB / 459.8 MB, free: 67.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.2191, allocations: 113 kB / 459.9 MB, free: 67.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/0.2216, allocations: 1.798 MB / 461.7 MB, free: 66.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001202/0.2228, allocations: 0.7822 MB / 462.5 MB, free: 66.85 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2228, allocations: 0 / 462.5 MB, free: 66.85 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.2228, allocations: 6.094 kB / 462.5 MB, free: 66.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.2255, allocations: 1.947 MB / 464.5 MB, free: 66.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2255, allocations: 0 / 464.5 MB, free: 66.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.226, allocations: 190.7 kB / 464.6 MB, free: 66.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007963/0.2268, allocations: 222.6 kB / 464.9 MB, free: 66.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.14e-05/0.2269, allocations: 39.95 kB / 464.9 MB, free: 66.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003798/0.2272, allocations: 1.627 MB / 466.5 MB, free: 64.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2272, allocations: 3.188 kB / 466.5 MB, free: 64.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.2289, allocations: 1.283 MB / 467.8 MB, free: 64.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/0.2292, allocations: 204 kB / 468 MB, free: 64.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.2294, allocations: 24.95 kB / 468 MB, free: 64.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.2297, allocations: 27.8 kB / 468.1 MB, free: 64.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.2298, allocations: 73.42 kB / 468.1 MB, free: 64.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.976e-05/0.2299, allocations: 48.17 kB / 468.2 MB, free: 64.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003899/0.2303, allocations: 452.6 kB / 468.6 MB, free: 64.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2303, allocations: 0 / 468.6 MB, free: 64.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001308/0.2316, allocations: 0.6843 MB / 469.3 MB, free: 64.23 MB / 394.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.001109/0.2327, allocations: 0.7679 MB / 470.1 MB, free: 64.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.2341, allocations: 0.8675 MB / 470.9 MB, free: 63.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2341, allocations: 3.031 kB / 470.9 MB, free: 63.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004583/0.2346, allocations: 467.2 kB / 471.4 MB, free: 63.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009821/0.2355, allocations: 446 kB / 471.8 MB, free: 63.64 MB / 394.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit l/cmH2O: Unit not found Error: Error parsing unit kDa: Unit not found Error: Error parsing unit meq/min: Unit not found Error: Error parsing unit kcal/kg: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.2396, allocations: 2.27 MB / 474.1 MB, free: 62.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.2398, allocations: 260.3 kB / 474.4 MB, free: 62.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007372/0.2406, allocations: 356.2 kB / 474.7 MB, free: 62.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.2409, allocations: 214.2 kB / 474.9 MB, free: 62.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.352e-06/0.2409, allocations: 0 / 474.9 MB, free: 62.29 MB / 394.7 MB Notification: Performance of Templates: time 0.02925/0.2702, allocations: 30.2 MB / 0.4933 GB, free: 52.52 MB / 394.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.8155496600084007]