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.1059/0.1059, allocations: 11.15 MB / 30.51 MB, free: 4.91 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.001506/0.001506, allocations: 92.48 kB / 38.14 MB, free: 7.203 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.001602/0.001602, allocations: 156.5 kB / 45.85 MB, free: 10.6 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.448/1.448, allocations: 177.1 MB / 230.6 MB, free: 4.773 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.1661/0.1661, allocations: 17.62 MB / 309.1 MB, free: 12.66 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.313e-06/1.313e-06, allocations: 0 / 391.6 MB, free: 27.95 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.196e-05, allocations: 3.594 kB / 391.6 MB, free: 27.94 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.05656/0.05659, allocations: 52.62 MB / 444.2 MB, free: 7.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03683/0.09342, allocations: 24.83 MB / 469.1 MB, free: 14.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000873/0.09429, allocations: 23.81 kB / 469.1 MB, free: 14.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.0958, allocations: 413 kB / 469.5 MB, free: 13.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00804/0.1038, allocations: 2.778 MB / 472.3 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01098/0.1148, allocations: 3.808 MB / 476.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003048/0.1179, allocations: 1.917 MB / 478 MB, free: 5.234 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.1191, allocations: 0.7674 MB / 478.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006916/0.126, allocations: 3.361 MB / 482.1 MB, free: 1.074 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005811/0.1319, allocations: 1.519 MB / 483.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003173/0.1322, allocations: 128 kB / 483.8 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01067/0.1428, allocations: 3.659 MB / 487.4 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008004/0.1436, allocations: 0.5688 MB / 488 MB, free: 11.41 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009768/0.1446, allocations: 0.5575 MB / 488.6 MB, free: 10.85 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01417/0.1588, allocations: 5.78 MB / 494.3 MB, free: 5.047 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1588, allocations: 0 / 494.3 MB, free: 5.047 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1588, allocations: 0 / 494.3 MB, free: 5.047 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.1588, allocations: 0 / 494.3 MB, free: 5.047 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.004818/0.1636, allocations: 2.074 MB / 496.4 MB, free: 2.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1637, allocations: 12.03 kB / 496.4 MB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.1655, allocations: 481.4 kB / 496.9 MB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.1671, allocations: 0.7305 MB / 497.6 MB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.1672, allocations: 85.98 kB / 497.7 MB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.1674, allocations: 99.92 kB / 497.8 MB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003432/0.1708, allocations: 1.828 MB / 499.6 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.1709, allocations: 3.938 kB / 499.6 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.171, allocations: 40 kB / 499.7 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002641/0.1713, allocations: 77.89 kB / 499.8 MB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004402/0.1757, allocations: 2.268 MB / 0.4903 GB, free: 13.23 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.00995/0.1856, allocations: 5.084 MB / 0.4952 GB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/0.1884, allocations: 1.206 MB / 0.4964 GB, free: 6.824 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.1895, allocations: 0.6323 MB / 0.497 GB, free: 6.188 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005959/0.1955, allocations: 2.814 MB / 0.4998 GB, free: 3.352 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.1955, allocations: 47.5 kB / 0.4998 GB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006688/0.1962, allocations: 131.3 kB / 0.4999 GB, free: 3.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.186e-06/0.1962, allocations: 4 kB / 0.4999 GB, free: 3.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=100): time 0.00607/0.2023, allocations: 2.453 MB / 0.5023 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.2023, allocations: 60.41 kB / 0.5024 GB, free: 0.625 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1335/0.3358, allocations: 0.6596 MB / 0.503 GB, free: 130.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002346/0.336, allocations: 43.56 kB / 0.5031 GB, free: 130.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.3364, allocations: 0.5119 MB / 0.5036 GB, free: 130 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.3366, allocations: 356 kB / 0.5039 GB, free: 129.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000427/0.3371, allocations: 252.1 kB / 0.5042 GB, free: 129.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3372, allocations: 400.8 kB / 0.5045 GB, free: 129.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009946/0.3382, allocations: 0.648 MB / 0.5052 GB, free: 129.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.3393, allocations: 0.9454 MB / 0.5061 GB, free: 129.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.3415, allocations: 1.679 MB / 0.5077 GB, free: 128.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.3415, allocations: 3.969 kB / 0.5077 GB, free: 128.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002761/0.3442, allocations: 1.936 MB / 0.5096 GB, free: 127.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3443, allocations: 8.938 kB / 0.5096 GB, free: 127.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.3443, allocations: 11.34 kB / 0.5097 GB, free: 127.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.3456, allocations: 302 kB / 0.5099 GB, free: 127.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009568/0.3466, allocations: 283.5 kB / 0.5102 GB, free: 127.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008349/0.3474, allocations: 1.237 MB / 0.5114 GB, free: 126.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007229/0.3482, allocations: 46.81 kB / 0.5115 GB, free: 126.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.3483, allocations: 83.14 kB / 0.5115 GB, free: 126.7 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.0004269/0.3487, allocations: 333 kB / 0.5119 GB, free: 126.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.349, allocations: 106.5 kB / 0.512 GB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/0.3526, allocations: 2.444 MB / 0.5144 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00224/0.3548, allocations: 1.508 MB / 0.5158 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3548, allocations: 4 kB / 0.5158 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.3548, allocations: 6.938 kB / 0.5158 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004186/0.359, allocations: 2.848 MB / 0.5186 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.359, allocations: 0.875 kB / 0.5186 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/0.3597, allocations: 193.9 kB / 0.5188 GB, free: 120.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/0.361, allocations: 300.1 kB / 0.5191 GB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.389e-05/0.3611, allocations: 39.97 kB / 0.5191 GB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006186/0.3617, allocations: 1.201 MB / 0.5203 GB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3617, allocations: 3.938 kB / 0.5203 GB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003621/0.3653, allocations: 2.682 MB / 0.5229 GB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.3658, allocations: 205.5 kB / 0.5231 GB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.3659, allocations: 26.88 kB / 0.5231 GB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/0.3665, allocations: 23.98 kB / 0.5232 GB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.3666, allocations: 76.86 kB / 0.5232 GB, free: 116.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.298e-05/0.3667, allocations: 43.98 kB / 0.5233 GB, free: 116.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005203/0.3672, allocations: 0.538 MB / 0.5238 GB, free: 115.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3672, allocations: 0 / 0.5238 GB, free: 115.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002409/0.3696, allocations: 1.286 MB / 0.5251 GB, free: 114.6 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.002639/0.3723, allocations: 1.932 MB / 0.527 GB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002209/0.3745, allocations: 1.6 MB / 0.5285 GB, free: 111.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3745, allocations: 0 / 0.5285 GB, free: 111.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00088/0.3754, allocations: 0.7631 MB / 0.5293 GB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.377, allocations: 448.2 kB / 0.5297 GB, free: 110.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.3803, allocations: 2.614 MB / 0.5322 GB, free: 107.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.3807, allocations: 0.5296 MB / 0.5328 GB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001049/0.3817, allocations: 398.7 kB / 0.5331 GB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/0.3822, allocations: 208 kB / 0.5333 GB, free: 106.5 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3822, allocations: 0 / 0.5333 GB, free: 106.5 MB / 410.7 MB Notification: Performance of Templates: time 0.048/0.4302, allocations: 45.21 MB / 0.5775 GB, free: 61.67 MB / 410.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=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.710750373080373]