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.05516/0.05516, allocations: 11.15 MB / 31.01 MB, free: 4.762 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.0008689/0.0008689, allocations: 90.17 kB / 38.74 MB, free: 6.84 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.0009369/0.0009369, allocations: 166.3 kB / 42.15 MB, free: 3.508 MB / 33.03 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.9162/0.9162, allocations: 177.2 MB / 222.6 MB, free: 6.281 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.1814/0.1814, allocations: 17.62 MB / 296.7 MB, free: 1.262 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.343e-06/1.343e-06, allocations: 0 / 322.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.439e-05, allocations: 3.578 kB / 322.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.01662/0.01663, allocations: 21.64 MB / 343.8 MB, free: 7.164 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007565/0.0242, allocations: 8.154 MB / 351.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/0.02464, allocations: 23.81 kB / 352 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007527/0.0254, allocations: 313.6 kB / 352.3 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.02826, allocations: 1.54 MB / 353.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.03095, allocations: 1.522 MB / 355.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001516/0.03247, allocations: 1.936 MB / 357.3 MB, free: 9.625 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006894/0.03316, allocations: 0.7635 MB / 358 MB, free: 8.828 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.03455, allocations: 1.516 MB / 359.6 MB, free: 7.309 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.03695, allocations: 1.507 MB / 361.1 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003491/0.0373, allocations: 128 kB / 361.2 MB, free: 5.902 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.03938, allocations: 1.427 MB / 362.6 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004168/0.0398, allocations: 0.5689 MB / 363.2 MB, free: 3.902 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005391/0.04034, allocations: 0.5536 MB / 363.7 MB, free: 3.348 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003173/0.04351, allocations: 2.861 MB / 366.6 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.04351, allocations: 0 / 366.6 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.04351, allocations: 0 / 366.6 MB, free: 488 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.04353, allocations: 0 / 366.6 MB, free: 488 kB / 330.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.002183/0.04571, allocations: 1.635 MB / 368.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.04574, allocations: 12.03 kB / 368.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.04681, allocations: 451.2 kB / 368.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008626/0.04767, allocations: 0.5583 MB / 369.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.327e-05/0.04774, allocations: 81.94 kB / 369.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.0479, allocations: 96 kB / 369.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.04918, allocations: 1.058 MB / 370.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.0492, allocations: 3.938 kB / 370.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.938e-05/0.04929, allocations: 40 kB / 370.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/0.04942, allocations: 65.97 kB / 370.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.0506, allocations: 0.7663 MB / 371.3 MB, free: 11.59 MB / 346.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.004825/0.05542, allocations: 3.742 MB / 375.1 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.05663, allocations: 0.6719 MB / 375.8 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.05695, allocations: 215.8 kB / 376 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002783/0.05973, allocations: 1.816 MB / 377.8 MB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.05976, allocations: 47.55 kB / 377.8 MB, free: 4.965 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000375/0.06014, allocations: 127.4 kB / 378 MB, free: 4.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=100): time 2.325e-06/0.06014, allocations: 0 / 378 MB, free: 4.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=100): time 0.001842/0.06198, allocations: 0.9503 MB / 378.9 MB, free: 3.875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.06201, allocations: 64.34 kB / 379 MB, free: 3.801 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.06249, allocations: 0.5638 MB / 379.5 MB, free: 3.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.614e-05/0.06254, allocations: 41.7 kB / 379.6 MB, free: 3.176 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.06276, allocations: 465.4 kB / 380 MB, free: 2.711 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.06298, allocations: 364.8 kB / 380.4 MB, free: 2.352 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/0.06328, allocations: 234.7 kB / 380.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.06341, allocations: 398.6 kB / 381 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.06386, allocations: 217.4 kB / 381.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.06442, allocations: 0.501 MB / 381.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.06562, allocations: 0.8395 MB / 382.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.06563, allocations: 0 / 382.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00133/0.06696, allocations: 0.8373 MB / 383.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.06697, allocations: 8 kB / 383.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.06699, allocations: 8 kB / 383.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000888/0.06787, allocations: 247.2 kB / 383.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007741/0.06865, allocations: 307.5 kB / 384 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005071/0.06915, allocations: 1.083 MB / 385 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.06957, allocations: 36 kB / 385.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.06969, allocations: 76.05 kB / 385.1 MB, free: 13.24 MB / 362.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.0002327/0.06993, allocations: 176.3 kB / 385.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.07007, allocations: 75.92 kB / 385.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.07217, allocations: 1.48 MB / 386.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000853/0.07302, allocations: 0.5385 MB / 387.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.07303, allocations: 4 kB / 387.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.07304, allocations: 3.984 kB / 387.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.07515, allocations: 1.439 MB / 388.9 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.07516, allocations: 7.938 kB / 388.9 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.07576, allocations: 203.8 kB / 389.1 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008013/0.07656, allocations: 219.2 kB / 389.3 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/0.07662, allocations: 31.98 kB / 389.3 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006911/0.07731, allocations: 1.089 MB / 390.4 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.07732, allocations: 4 kB / 390.4 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.07851, allocations: 0.941 MB / 391.3 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.07878, allocations: 147.3 kB / 391.5 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.07889, allocations: 27.98 kB / 391.5 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.07919, allocations: 16 kB / 391.5 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.07932, allocations: 72.86 kB / 391.6 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.182e-05/0.07939, allocations: 35.98 kB / 391.6 MB, free: 6.551 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002691/0.07966, allocations: 276.6 kB / 391.9 MB, free: 6.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07966, allocations: 0 / 391.9 MB, free: 6.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001148/0.08081, allocations: 0.6931 MB / 392.6 MB, free: 5.59 MB / 362.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.001057/0.08187, allocations: 0.7833 MB / 393.4 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004093/0.08596, allocations: 0.7246 MB / 394.1 MB, free: 4.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/0.08598, allocations: 10.25 kB / 394.1 MB, free: 4.062 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004424/0.08642, allocations: 377.9 kB / 394.5 MB, free: 3.684 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.08759, allocations: 437.8 kB / 394.9 MB, free: 3.277 MB / 362.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.01005/0.09764, allocations: 2.184 MB / 397.1 MB, free: 1.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.09786, allocations: 254.6 kB / 397.3 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007999/0.09866, allocations: 291 kB / 397.6 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00099/0.09965, allocations: 454.4 kB / 398.1 MB, free: 52 kB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.09965, allocations: 0 / 398.1 MB, free: 52 kB / 362.7 MB Notification: Performance of Templates: time 0.04141/0.1411, allocations: 35.01 MB / 433.1 MB, free: 13.35 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6579039790667593]