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.05959/0.05959, allocations: 11.15 MB / 31.01 MB, free: 4.777 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.0008776/0.0008776, allocations: 84.81 kB / 38.74 MB, free: 6.848 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.001477/0.001477, allocations: 166.3 kB / 42.14 MB, free: 3.52 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.952/0.952, allocations: 177.2 MB / 222.6 MB, free: 6.273 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.2485/0.2485, allocations: 17.63 MB / 296.7 MB, free: 1.281 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.984e-06/1.984e-06, allocations: 4 kB / 322.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.19e-05, allocations: 4 kB / 322.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.01678/0.0168, allocations: 21.58 MB / 343.7 MB, free: 7.281 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007295/0.02409, allocations: 8.162 MB / 351.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005527/0.02464, allocations: 23.81 kB / 351.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008054/0.02545, allocations: 305.7 kB / 352.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002799/0.02825, allocations: 1.552 MB / 353.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.03113, allocations: 1.554 MB / 355.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001911/0.03304, allocations: 1.924 MB / 357.2 MB, free: 9.715 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007883/0.03383, allocations: 0.7791 MB / 358 MB, free: 8.902 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.03552, allocations: 1.528 MB / 359.5 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.0382, allocations: 1.507 MB / 361 MB, free: 6.082 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.0384, allocations: 132 kB / 361.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.04086, allocations: 1.38 MB / 362.5 MB, free: 4.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.04123, allocations: 0.5728 MB / 363.1 MB, free: 3.996 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005788/0.04181, allocations: 0.5575 MB / 363.7 MB, free: 3.438 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005424/0.04724, allocations: 2.861 MB / 366.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.04724, allocations: 0 / 366.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.04724, allocations: 0 / 366.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.29e-05/0.04727, allocations: 0 / 366.5 MB, free: 0.5664 MB / 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.003069/0.05034, allocations: 1.635 MB / 368.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.05038, allocations: 8.031 kB / 368.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.05165, allocations: 451.2 kB / 368.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.05278, allocations: 0.5583 MB / 369.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.475e-05/0.05286, allocations: 77.94 kB / 369.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.05304, allocations: 100 kB / 369.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.05466, allocations: 1.058 MB / 370.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.05468, allocations: 4 kB / 370.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.05479, allocations: 39.94 kB / 370.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/0.05496, allocations: 61.97 kB / 370.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.05623, allocations: 0.7702 MB / 371.3 MB, free: 11.68 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.004056/0.06029, allocations: 3.75 MB / 375 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/0.06116, allocations: 0.6634 MB / 375.7 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.0614, allocations: 219.7 kB / 375.9 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002273/0.06368, allocations: 1.813 MB / 377.7 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.0637, allocations: 43.5 kB / 377.8 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002991/0.064, allocations: 135.4 kB / 377.9 MB, free: 4.934 MB / 346.7 MB Notification: Performance of pre-optimization done (n=100): time 2.454e-06/0.064, allocations: 0 / 377.9 MB, free: 4.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=100): time 0.001475/0.06548, allocations: 0.9503 MB / 378.8 MB, free: 3.969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.06551, allocations: 60.41 kB / 378.9 MB, free: 3.898 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.0659, allocations: 0.5677 MB / 379.5 MB, free: 3.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.06595, allocations: 37.7 kB / 379.5 MB, free: 3.273 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.06613, allocations: 461.4 kB / 380 MB, free: 2.812 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.0663, allocations: 368.7 kB / 380.3 MB, free: 2.449 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.06655, allocations: 238.7 kB / 380.5 MB, free: 2.211 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.06667, allocations: 398.6 kB / 380.9 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.06702, allocations: 217.4 kB / 381.1 MB, free: 1.598 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.06748, allocations: 0.501 MB / 381.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000852/0.06833, allocations: 0.8434 MB / 382.5 MB, free: 0 / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/0.06834, allocations: 4.047 kB / 382.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.001061/0.0694, allocations: 0.8372 MB / 383.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.06943, allocations: 8 kB / 383.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.06944, allocations: 8 kB / 383.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007232/0.07016, allocations: 243.2 kB / 383.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.07068, allocations: 267.6 kB / 383.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004478/0.07113, allocations: 1.087 MB / 384.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.07144, allocations: 39.98 kB / 385 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.703e-05/0.07153, allocations: 68.06 kB / 385 MB, free: 13.37 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.0002081/0.07174, allocations: 184.3 kB / 385.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.07185, allocations: 71.94 kB / 385.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.07356, allocations: 1.475 MB / 386.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007123/0.07427, allocations: 0.5385 MB / 387.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.07427, allocations: 0 / 387.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.07428, allocations: 7.969 kB / 387.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.07599, allocations: 1.432 MB / 388.7 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.076, allocations: 7.969 kB / 388.8 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.07651, allocations: 175.8 kB / 388.9 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006093/0.07712, allocations: 227.1 kB / 389.1 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.037e-05/0.07717, allocations: 35.98 kB / 389.2 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004076/0.07758, allocations: 1.089 MB / 390.3 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.07758, allocations: 0 / 390.3 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000945/0.07853, allocations: 0.9449 MB / 391.2 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.07875, allocations: 147.3 kB / 391.4 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.281e-05/0.07884, allocations: 23.98 kB / 391.4 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.07907, allocations: 20 kB / 391.4 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/0.07916, allocations: 68.88 kB / 391.5 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/0.07922, allocations: 39.97 kB / 391.5 MB, free: 6.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002202/0.07944, allocations: 276.6 kB / 391.8 MB, free: 6.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07944, allocations: 0 / 391.8 MB, free: 6.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001246/0.08068, allocations: 0.6892 MB / 392.5 MB, free: 5.746 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.0008826/0.08157, allocations: 0.775 MB / 393.2 MB, free: 4.965 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008655/0.08243, allocations: 0.7325 MB / 394 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/0.08245, allocations: 8.5 kB / 394 MB, free: 4.219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.08279, allocations: 375.6 kB / 394.4 MB, free: 3.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009188/0.08371, allocations: 448.2 kB / 394.8 MB, free: 3.43 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.003112/0.08682, allocations: 2.172 MB / 397 MB, free: 1.211 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.087, allocations: 258.6 kB / 397.2 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006068/0.08761, allocations: 290.9 kB / 397.5 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000788/0.0884, allocations: 452.9 kB / 397.9 MB, free: 212 kB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0884, allocations: 0 / 397.9 MB, free: 212 kB / 362.7 MB Notification: Performance of Templates: time 0.03333/0.1217, allocations: 35.02 MB / 433 MB, free: 13.51 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 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.695977692026645]