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.06905/0.06905, allocations: 11.16 MB / 31.26 MB, free: 4.938 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.0009856/0.0009856, allocations: 95.09 kB / 38.88 MB, free: 7.387 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.001048/0.001048, allocations: 164.5 kB / 46.58 MB, free: 10.75 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.02/1.02, allocations: 177.2 MB / 231.3 MB, free: 2.098 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.2083/0.2083, allocations: 17.62 MB / 309.8 MB, free: 2.047 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.823e-06/1.823e-06, allocations: 0 / 392.4 MB, free: 3.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.21e-05/4.392e-05, allocations: 2.312 kB / 392.4 MB, free: 3.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.2306/0.2307, allocations: 60.07 MB / 452.5 MB, free: 48.45 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02175/0.2524, allocations: 28.41 MB / 480.9 MB, free: 46.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009724/0.2534, allocations: 24.72 kB / 480.9 MB, free: 46.17 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.2546, allocations: 432.2 kB / 481.3 MB, free: 45.98 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006232/0.2609, allocations: 2.762 MB / 484.1 MB, free: 44.6 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008081/0.2689, allocations: 3.804 MB / 487.9 MB, free: 42.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002325/0.2713, allocations: 1.928 MB / 489.8 MB, free: 42.33 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.2723, allocations: 0.7648 MB / 490.6 MB, free: 41.98 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004595/0.2769, allocations: 3.364 MB / 493.9 MB, free: 40.68 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003018/0.2799, allocations: 1.513 MB / 495.5 MB, free: 40.28 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003542/0.2803, allocations: 131.9 kB / 495.6 MB, free: 40.27 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00875/0.289, allocations: 3.661 MB / 499.2 MB, free: 39.24 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008301/0.2899, allocations: 0.5652 MB / 499.8 MB, free: 38.96 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.2912, allocations: 0.56 MB / 0.4886 GB, free: 38.75 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0144/0.3056, allocations: 5.234 MB / 0.4938 GB, free: 36.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3056, allocations: 0 / 0.4938 GB, free: 36.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3056, allocations: 0 / 0.4938 GB, free: 36.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.356e-05/0.3057, allocations: 0 / 0.4938 GB, free: 36.57 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.005084/0.3108, allocations: 2.187 MB / 0.4959 GB, free: 35.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3108, allocations: 10.61 kB / 0.4959 GB, free: 35.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.312, allocations: 486.1 kB / 0.4964 GB, free: 34.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.3132, allocations: 0.6971 MB / 0.497 GB, free: 34.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.3132, allocations: 79.75 kB / 0.4971 GB, free: 34.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.3134, allocations: 96.31 kB / 0.4972 GB, free: 34.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.3154, allocations: 1.178 MB / 0.4984 GB, free: 34.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.3154, allocations: 0 / 0.4984 GB, free: 34.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.405e-05/0.3155, allocations: 45.52 kB / 0.4984 GB, free: 34.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/0.3157, allocations: 79.55 kB / 0.4985 GB, free: 34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.3175, allocations: 1.044 MB / 0.4995 GB, free: 33.84 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.005367/0.3229, allocations: 4.774 MB / 0.5042 GB, free: 30.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.324, allocations: 0.7614 MB / 0.5049 GB, free: 30.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003857/0.3244, allocations: 290.8 kB / 0.5052 GB, free: 30.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002464/0.3269, allocations: 2.131 MB / 0.5073 GB, free: 29.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3269, allocations: 45.73 kB / 0.5073 GB, free: 29.43 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003005/0.3272, allocations: 130.6 kB / 0.5074 GB, free: 29.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 3.297e-06/0.3272, allocations: 0 / 0.5074 GB, free: 29.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=100): time 0.002094/0.3293, allocations: 1.279 MB / 0.5087 GB, free: 29.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.3293, allocations: 62.94 kB / 0.5087 GB, free: 29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.3298, allocations: 0.6406 MB / 0.5094 GB, free: 28.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.3299, allocations: 41.14 kB / 0.5094 GB, free: 28.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.3301, allocations: 0.5645 MB / 0.51 GB, free: 28.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.3302, allocations: 366 kB / 0.5103 GB, free: 27.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.3305, allocations: 260.7 kB / 0.5106 GB, free: 27.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.3306, allocations: 0.5748 MB / 0.5111 GB, free: 27.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.331, allocations: 246.8 kB / 0.5114 GB, free: 27.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.3315, allocations: 0.6611 MB / 0.512 GB, free: 26.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009426/0.3324, allocations: 1 MB / 0.513 GB, free: 25.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.3324, allocations: 3 kB / 0.513 GB, free: 25.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.001358/0.3338, allocations: 1.109 MB / 0.5141 GB, free: 25.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3338, allocations: 10.94 kB / 0.5141 GB, free: 25.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.3338, allocations: 13.8 kB / 0.5141 GB, free: 25.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008607/0.3347, allocations: 244.7 kB / 0.5143 GB, free: 25.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/0.3354, allocations: 282.6 kB / 0.5146 GB, free: 25.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005059/0.3359, allocations: 1.654 MB / 0.5162 GB, free: 23.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.3362, allocations: 42.11 kB / 0.5162 GB, free: 23.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.562e-05/0.3363, allocations: 82.48 kB / 0.5163 GB, free: 23.83 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.0002174/0.3365, allocations: 223.8 kB / 0.5165 GB, free: 23.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.3367, allocations: 116.1 kB / 0.5166 GB, free: 23.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.3387, allocations: 1.782 MB / 0.5184 GB, free: 22.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009942/0.3397, allocations: 0.7719 MB / 0.5191 GB, free: 22.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.3397, allocations: 0 / 0.5191 GB, free: 22.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3398, allocations: 3.047 kB / 0.5191 GB, free: 22.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.3421, allocations: 1.963 MB / 0.5211 GB, free: 20.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3421, allocations: 4.031 kB / 0.5211 GB, free: 20.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.3425, allocations: 190.7 kB / 0.5212 GB, free: 20.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006923/0.3432, allocations: 231.5 kB / 0.5215 GB, free: 20.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/0.3433, allocations: 34.67 kB / 0.5215 GB, free: 20.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003718/0.3436, allocations: 1.634 MB / 0.5231 GB, free: 18.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3436, allocations: 8 kB / 0.5231 GB, free: 18.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.3453, allocations: 1.393 MB / 0.5245 GB, free: 17.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.3456, allocations: 199.2 kB / 0.5247 GB, free: 16.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.3457, allocations: 19.94 kB / 0.5247 GB, free: 16.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.3459, allocations: 22.86 kB / 0.5247 GB, free: 16.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.346, allocations: 80.39 kB / 0.5248 GB, free: 16.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.729e-05/0.3461, allocations: 49.53 kB / 0.5248 GB, free: 16.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003415/0.3464, allocations: 465.3 kB / 0.5253 GB, free: 16.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3464, allocations: 0 / 0.5253 GB, free: 16.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002675/0.3491, allocations: 1.28 MB / 0.5265 GB, free: 15.21 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.002372/0.3515, allocations: 1.93 MB / 0.5284 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.3526, allocations: 0.8671 MB / 0.5292 GB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3526, allocations: 1.75 kB / 0.5292 GB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000458/0.3531, allocations: 467.1 kB / 0.5297 GB, free: 12.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.3541, allocations: 445.7 kB / 0.5301 GB, free: 12 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.003361/0.3575, allocations: 2.278 MB / 0.5323 GB, free: 9.875 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.3576, allocations: 256 kB / 0.5326 GB, free: 9.672 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006629/0.3583, allocations: 362.8 kB / 0.5329 GB, free: 9.395 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.3586, allocations: 208.5 kB / 0.5331 GB, free: 9.23 MB / 394.7 MB Notification: Performance of SimCode: time 1.123e-06/0.3586, allocations: 0 / 0.5331 GB, free: 9.23 MB / 394.7 MB Notification: Performance of Templates: time 0.04553/0.4041, allocations: 45.26 MB / 0.5773 GB, free: 12.29 MB / 442.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: 4.569556296104565]