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.06507/0.06507, allocations: 11.14 MB / 31.72 MB, free: 4.305 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.0008751/0.0008751, allocations: 98.42 kB / 39.44 MB, free: 6.758 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.001065/0.001065, allocations: 164.5 kB / 47.23 MB, free: 10.05 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.9484/0.9484, allocations: 177.1 MB / 232.1 MB, free: 1.734 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.08475/0.08475, allocations: 17.64 MB / 310.7 MB, free: 14.43 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 1.503e-06/1.503e-06, allocations: 0 / 393.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.571e-05, allocations: 2.312 kB / 393.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.02308/0.02311, allocations: 21.4 MB / 415.2 MB, free: 5.734 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.03316, allocations: 8.035 MB / 423.2 MB, free: 13.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009208/0.03408, allocations: 23.81 kB / 423.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.03515, allocations: 301.7 kB / 423.5 MB, free: 13.35 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003982/0.03913, allocations: 1.529 MB / 425 MB, free: 11.81 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003839/0.04297, allocations: 1.546 MB / 426.6 MB, free: 10.25 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.04535, allocations: 1.921 MB / 428.5 MB, free: 8.324 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.04664, allocations: 0.7674 MB / 429.3 MB, free: 7.535 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.04924, allocations: 1.551 MB / 430.8 MB, free: 5.98 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003919/0.05316, allocations: 1.515 MB / 432.3 MB, free: 4.684 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.05348, allocations: 132 kB / 432.5 MB, free: 4.555 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004301/0.05778, allocations: 1.391 MB / 433.9 MB, free: 3.16 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006182/0.0584, allocations: 0.5767 MB / 434.4 MB, free: 2.582 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.05951, allocations: 0.5653 MB / 435 MB, free: 2.016 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1553/0.2148, allocations: 2.845 MB / 437.8 MB, free: 74.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2148, allocations: 3.125 kB / 437.8 MB, free: 74.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2148, allocations: 2 kB / 437.8 MB, free: 74.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.23e-05/0.2149, allocations: 0 / 437.8 MB, free: 74.53 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.002213/0.2171, allocations: 1.794 MB / 439.6 MB, free: 73.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2171, allocations: 8.594 kB / 439.6 MB, free: 73.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008701/0.218, allocations: 482.6 kB / 440.1 MB, free: 73.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006993/0.2187, allocations: 0.6547 MB / 440.8 MB, free: 73.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.2187, allocations: 76.19 kB / 440.8 MB, free: 73.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.2188, allocations: 97.03 kB / 440.9 MB, free: 73.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.2199, allocations: 1.078 MB / 442 MB, free: 72.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.2199, allocations: 2.188 kB / 442 MB, free: 72.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.696e-05/0.22, allocations: 44.3 kB / 442.1 MB, free: 72.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.2201, allocations: 68.09 kB / 442.1 MB, free: 72.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009273/0.221, allocations: 0.8595 MB / 443 MB, free: 72.92 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.003788/0.2248, allocations: 4.717 MB / 447.7 MB, free: 70.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008647/0.2256, allocations: 0.6866 MB / 448.4 MB, free: 70.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.2259, allocations: 245.1 kB / 448.6 MB, free: 70.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002015/0.2279, allocations: 2.065 MB / 450.7 MB, free: 70.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.2279, allocations: 47.98 kB / 450.7 MB, free: 70.39 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002902/0.2282, allocations: 131.6 kB / 450.9 MB, free: 70.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 2.344e-06/0.2282, allocations: 3.375 kB / 450.9 MB, free: 70.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=100): time 0.001637/0.2299, allocations: 1.14 MB / 452 MB, free: 70.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.722e-05/0.2299, allocations: 65.78 kB / 452.1 MB, free: 70.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.2302, allocations: 0.6292 MB / 452.7 MB, free: 69.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.2302, allocations: 38.7 kB / 452.8 MB, free: 69.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.2304, allocations: 0.5667 MB / 453.3 MB, free: 69.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.2306, allocations: 372 kB / 453.7 MB, free: 69.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.2308, allocations: 267.6 kB / 453.9 MB, free: 69.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.2309, allocations: 0.5867 MB / 454.5 MB, free: 68.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.2312, allocations: 216.8 kB / 454.7 MB, free: 68.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003962/0.2316, allocations: 0.6366 MB / 455.4 MB, free: 68.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000755/0.2323, allocations: 0.9491 MB / 456.3 MB, free: 67.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.2323, allocations: 2.875 kB / 456.3 MB, free: 67.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.001144/0.2335, allocations: 1.035 MB / 457.4 MB, free: 67.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2335, allocations: 18.52 kB / 457.4 MB, free: 67.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2335, allocations: 7.562 kB / 457.4 MB, free: 67.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006381/0.2341, allocations: 242.8 kB / 457.6 MB, free: 67.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.2346, allocations: 279.6 kB / 457.9 MB, free: 67.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003885/0.235, allocations: 1.654 MB / 459.6 MB, free: 66.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.2353, allocations: 33.88 kB / 459.6 MB, free: 66.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.819e-05/0.2354, allocations: 73.61 kB / 459.7 MB, free: 66.04 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.0001951/0.2356, allocations: 227.4 kB / 459.9 MB, free: 65.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.2358, allocations: 111.8 kB / 460 MB, free: 65.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.2377, allocations: 1.739 MB / 461.7 MB, free: 65.53 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008849/0.2386, allocations: 0.6942 MB / 462.4 MB, free: 65.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.2386, allocations: 0 / 462.4 MB, free: 65.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.2386, allocations: 5.938 kB / 462.4 MB, free: 65.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.2406, allocations: 1.706 MB / 464.1 MB, free: 65.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2406, allocations: 1.609 kB / 464.1 MB, free: 65.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.241, allocations: 181.4 kB / 464.3 MB, free: 65.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006204/0.2416, allocations: 220.5 kB / 464.5 MB, free: 65.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.2417, allocations: 35.83 kB / 464.6 MB, free: 65.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003081/0.242, allocations: 1.63 MB / 466.2 MB, free: 63.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.242, allocations: 4.688 kB / 466.2 MB, free: 63.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.2432, allocations: 1.136 MB / 467.3 MB, free: 63.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.2435, allocations: 191.4 kB / 467.5 MB, free: 63.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-05/0.2436, allocations: 18.77 kB / 467.5 MB, free: 63.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.2438, allocations: 23.84 kB / 467.6 MB, free: 63.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.2439, allocations: 73.69 kB / 467.6 MB, free: 63.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.015e-05/0.244, allocations: 43.38 kB / 467.7 MB, free: 63.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002837/0.2443, allocations: 418.1 kB / 468.1 MB, free: 62.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2443, allocations: 0 / 468.1 MB, free: 62.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001072/0.2454, allocations: 0.686 MB / 468.8 MB, free: 62.8 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.0009114/0.2463, allocations: 0.8069 MB / 469.6 MB, free: 62.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.2473, allocations: 0.7882 MB / 470.4 MB, free: 62.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2473, allocations: 1.312 kB / 470.4 MB, free: 62.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.2478, allocations: 418.8 kB / 470.8 MB, free: 62.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.2488, allocations: 439.4 kB / 471.2 MB, free: 62.44 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.003392/0.2522, allocations: 2.242 MB / 473.4 MB, free: 61.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.2524, allocations: 254.7 kB / 473.7 MB, free: 61.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006602/0.2531, allocations: 285.3 kB / 474 MB, free: 61.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008272/0.2539, allocations: 0.5075 MB / 474.5 MB, free: 61.25 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2539, allocations: 7.062 kB / 474.5 MB, free: 61.25 MB / 394.7 MB Notification: Performance of Templates: time 0.02855/0.2825, allocations: 35.59 MB / 0.4981 GB, free: 36.1 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.9064219193533063]