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.05957/0.05957, allocations: 11.15 MB / 30.94 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.0009712/0.0009712, allocations: 98.33 kB / 38.65 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.001227/0.001227, allocations: 152.6 kB / 46.45 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.9238/0.9238, allocations: 177.2 MB / 231.3 MB, free: 1.977 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.193/0.193, allocations: 17.62 MB / 309.9 MB, free: 1.805 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.613e-06/1.613e-06, allocations: 0 / 393 MB, free: 3.148 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.275e-05, allocations: 6.25 kB / 393 MB, free: 3.141 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.02734/0.02736, allocations: 21.4 MB / 414.4 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007486/0.03485, allocations: 8.027 MB / 422.4 MB, free: 5.602 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007355/0.03558, allocations: 23.81 kB / 422.4 MB, free: 5.578 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008137/0.03639, allocations: 305.7 kB / 422.7 MB, free: 5.277 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.03925, allocations: 1.544 MB / 424.3 MB, free: 3.723 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.04227, allocations: 1.534 MB / 425.8 MB, free: 2.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001804/0.04408, allocations: 1.921 MB / 427.7 MB, free: 256 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009422/0.04502, allocations: 0.7636 MB / 428.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/0.04698, allocations: 1.555 MB / 430 MB, free: 13.91 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002761/0.04974, allocations: 1.518 MB / 431.5 MB, free: 12.61 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.04999, allocations: 132 kB / 431.7 MB, free: 12.48 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002978/0.05297, allocations: 1.399 MB / 433.1 MB, free: 11.08 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004001/0.05337, allocations: 0.5689 MB / 433.6 MB, free: 10.51 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005495/0.05392, allocations: 0.5575 MB / 434.2 MB, free: 9.949 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004049/0.05797, allocations: 2.861 MB / 437.1 MB, free: 7.078 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.05798, allocations: 0 / 437.1 MB, free: 7.078 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.05798, allocations: 0 / 437.1 MB, free: 7.078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.05799, allocations: 0 / 437.1 MB, free: 7.078 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.002021/0.06001, allocations: 1.802 MB / 438.9 MB, free: 5.234 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.06005, allocations: 8.031 kB / 438.9 MB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007958/0.06084, allocations: 478.6 kB / 439.3 MB, free: 4.758 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007088/0.06155, allocations: 0.6558 MB / 440 MB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.0616, allocations: 81.88 kB / 440.1 MB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.06172, allocations: 104 kB / 440.2 MB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.06277, allocations: 1.077 MB / 441.3 MB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.06279, allocations: 0 / 441.3 MB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/0.06285, allocations: 44 kB / 441.3 MB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.994e-05/0.06295, allocations: 61.97 kB / 441.4 MB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009767/0.06393, allocations: 0.8648 MB / 442.2 MB, free: 1.758 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.174/0.238, allocations: 4.723 MB / 446.9 MB, free: 71.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008903/0.2389, allocations: 0.6902 MB / 447.6 MB, free: 71.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.2391, allocations: 240.5 kB / 447.9 MB, free: 71.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002246/0.2413, allocations: 2.085 MB / 450 MB, free: 71.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.2414, allocations: 47.83 kB / 450 MB, free: 71.23 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000302/0.2417, allocations: 134.6 kB / 450.1 MB, free: 71.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 3.005e-06/0.2417, allocations: 0 / 450.1 MB, free: 71.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=100): time 0.001626/0.2433, allocations: 1.162 MB / 451.3 MB, free: 71.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/0.2433, allocations: 61.22 kB / 451.4 MB, free: 71.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.2437, allocations: 0.6294 MB / 452 MB, free: 70.85 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.2437, allocations: 39.83 kB / 452 MB, free: 70.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.2439, allocations: 0.5654 MB / 452.6 MB, free: 70.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.244, allocations: 369.2 kB / 452.9 MB, free: 70.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.2442, allocations: 269.3 kB / 453.2 MB, free: 70.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2443, allocations: 0.5841 MB / 453.8 MB, free: 69.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.2446, allocations: 218.6 kB / 454 MB, free: 69.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.245, allocations: 0.6406 MB / 454.6 MB, free: 69.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007301/0.2457, allocations: 0.9426 MB / 455.6 MB, free: 68.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.2457, allocations: 4.719 kB / 455.6 MB, free: 68.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.001154/0.2469, allocations: 1.058 MB / 456.7 MB, free: 68.69 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2469, allocations: 13 kB / 456.7 MB, free: 68.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.2469, allocations: 8.25 kB / 456.7 MB, free: 68.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006646/0.2476, allocations: 249.3 kB / 456.9 MB, free: 68.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.2481, allocations: 275.9 kB / 457.2 MB, free: 68.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004244/0.2485, allocations: 1.647 MB / 458.8 MB, free: 67.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/0.2489, allocations: 39.22 kB / 458.9 MB, free: 67.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/0.2489, allocations: 75.59 kB / 458.9 MB, free: 67.07 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.0002433/0.2492, allocations: 222.5 kB / 459.2 MB, free: 66.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.2493, allocations: 112.6 kB / 459.3 MB, free: 66.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.2509, allocations: 1.756 MB / 461 MB, free: 66.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007228/0.2517, allocations: 0.6968 MB / 461.7 MB, free: 66.49 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2517, allocations: 4 kB / 461.7 MB, free: 66.49 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.2517, allocations: 10.53 kB / 461.7 MB, free: 66.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.2535, allocations: 1.716 MB / 463.5 MB, free: 66.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.2535, allocations: 0 / 463.5 MB, free: 66.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.2539, allocations: 181.7 kB / 463.6 MB, free: 66.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005759/0.2545, allocations: 217.1 kB / 463.8 MB, free: 66.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/0.2545, allocations: 43.53 kB / 463.9 MB, free: 66.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003063/0.2548, allocations: 1.626 MB / 465.5 MB, free: 64.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2548, allocations: 3.188 kB / 465.5 MB, free: 64.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.2558, allocations: 1.143 MB / 466.7 MB, free: 64.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.2561, allocations: 190.3 kB / 466.8 MB, free: 64.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.152e-05/0.2562, allocations: 32.52 kB / 466.9 MB, free: 64.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.2564, allocations: 19.91 kB / 466.9 MB, free: 64.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.2565, allocations: 73.02 kB / 467 MB, free: 64.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.2565, allocations: 39.3 kB / 467 MB, free: 64.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002164/0.2568, allocations: 419.1 kB / 467.4 MB, free: 64.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2568, allocations: 0 / 467.4 MB, free: 64.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001078/0.2578, allocations: 0.6911 MB / 468.1 MB, free: 63.98 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.0008524/0.2587, allocations: 0.7968 MB / 468.9 MB, free: 63.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009889/0.2597, allocations: 0.7884 MB / 469.7 MB, free: 63.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2597, allocations: 3.75 kB / 469.7 MB, free: 63.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.26, allocations: 416.5 kB / 470.1 MB, free: 63.67 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009417/0.261, allocations: 437.4 kB / 470.5 MB, free: 63.62 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.003007/0.264, allocations: 2.255 MB / 472.8 MB, free: 62.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.2641, allocations: 252.2 kB / 473 MB, free: 62.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006219/0.2648, allocations: 282 kB / 473.3 MB, free: 62.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007412/0.2655, allocations: 0.5249 MB / 473.8 MB, free: 62.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2655, allocations: 0 / 473.8 MB, free: 62.41 MB / 394.7 MB Notification: Performance of Templates: time 0.03484/0.3003, allocations: 35.1 MB / 0.497 GB, free: 49.15 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.921702901367098]