Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.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.06401/0.06401, allocations: 11.16 MB / 30.71 MB, free: 4.41 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.001301/0.001301, allocations: 102.9 kB / 38.41 MB, free: 7.023 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.001664/0.001664, allocations: 164.5 kB / 46.17 MB, free: 10.35 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.9778/0.9778, allocations: 177.1 MB / 231 MB, free: 2.055 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.1765/0.1765, allocations: 17.62 MB / 309.5 MB, free: 1.922 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.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 391.2 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.564e-05, allocations: 6.25 kB / 391.2 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.01279/0.0128, allocations: 17.89 MB / 409.1 MB, free: 2.707 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.01463, allocations: 1.713 MB / 410.9 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.01476, allocations: 7.938 kB / 410.9 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.015, allocations: 63.48 kB / 410.9 MB, free: 0.918 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.01662, allocations: 1.024 MB / 411.9 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.01683, allocations: 135.7 kB / 412.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.01727, allocations: 0.5715 MB / 412.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006023/0.01787, allocations: 0.7322 MB / 413.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.01893, allocations: 0.8376 MB / 414.2 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005553/0.01948, allocations: 0.5691 MB / 414.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.344e-05/0.01956, allocations: 72 kB / 414.9 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009227/0.02049, allocations: 0.7092 MB / 415.6 MB, free: 12.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.02066, allocations: 275.3 kB / 415.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.02086, allocations: 263.6 kB / 416.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.02227, allocations: 1.398 MB / 417.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.02228, allocations: 0 / 417.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.02228, allocations: 0 / 417.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.02228, allocations: 0 / 417.5 MB, free: 10.33 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001109/0.02339, allocations: 0.8221 MB / 418.3 MB, free: 9.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.02343, allocations: 8.031 kB / 418.3 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.02357, allocations: 60.7 kB / 418.4 MB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.02398, allocations: 364.4 kB / 418.7 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.02401, allocations: 20.88 kB / 418.8 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.02406, allocations: 28.12 kB / 418.8 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006122/0.02467, allocations: 0.5235 MB / 419.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.02469, allocations: 3.984 kB / 419.3 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.02472, allocations: 7.938 kB / 419.3 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.02473, allocations: 8 kB / 419.3 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008184/0.02555, allocations: 0.678 MB / 420 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.02701, allocations: 1.058 MB / 421.1 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.02737, allocations: 227.1 kB / 421.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.02763, allocations: 188.1 kB / 421.5 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.02776, allocations: 35.97 kB / 421.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.02778, allocations: 41.38 kB / 421.5 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000647/0.02843, allocations: 275.6 kB / 421.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/0.02843, allocations: 4 kB / 421.8 MB, free: 5.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.003746/0.03218, allocations: 1.47 MB / 423.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.03221, allocations: 55.41 kB / 423.3 MB, free: 4.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.03241, allocations: 318.3 kB / 423.7 MB, free: 3.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.03244, allocations: 33.7 kB / 423.7 MB, free: 3.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.03253, allocations: 223.5 kB / 423.9 MB, free: 3.719 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/0.0326, allocations: 107 kB / 424 MB, free: 3.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.03271, allocations: 99.2 kB / 424.1 MB, free: 3.508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.03288, allocations: 0.5117 MB / 424.6 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.03307, allocations: 119.9 kB / 424.7 MB, free: 2.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.03325, allocations: 132.1 kB / 424.9 MB, free: 2.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.03364, allocations: 295.6 kB / 425.2 MB, free: 2.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.03365, allocations: 0 / 425.2 MB, free: 2.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009986/0.03465, allocations: 0.6222 MB / 425.8 MB, free: 1.812 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.03466, allocations: 8 kB / 425.8 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.03466, allocations: 3.938 kB / 425.8 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02322/0.05789, allocations: 3.815 MB / 429.6 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.323e-05/0.05791, allocations: 7.984 kB / 429.6 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.05948, allocations: 1.346 MB / 431 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.05962, allocations: 7.938 kB / 431 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.05967, allocations: 31.95 kB / 431 MB, free: 12.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(13,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.0598, allocations: 176.5 kB / 431.2 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.616e-05/0.05988, allocations: 43.77 kB / 431.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009727/0.06085, allocations: 0.7303 MB / 431.9 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.06086, allocations: 7.984 kB / 432 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.06086, allocations: 4 kB / 432 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.06087, allocations: 0 / 432 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.06212, allocations: 1.196 MB / 433.1 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.06212, allocations: 0 / 433.1 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.06214, allocations: 0 / 433.1 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009488/0.06309, allocations: 0.6496 MB / 433.8 MB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.06311, allocations: 11.94 kB / 433.8 MB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.06429, allocations: 1.387 MB / 435.2 MB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.06429, allocations: 4 kB / 435.2 MB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.06498, allocations: 0.7037 MB / 435.9 MB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.06509, allocations: 79.7 kB / 436 MB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.06513, allocations: 8 kB / 436 MB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.06523, allocations: 4 kB / 436 MB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.06529, allocations: 27.94 kB / 436 MB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.06531, allocations: 8 kB / 436 MB, free: 7.379 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001382/0.06545, allocations: 227 kB / 436.3 MB, free: 7.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06545, allocations: 0 / 436.3 MB, free: 7.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005628/0.06602, allocations: 283.1 kB / 436.5 MB, free: 6.883 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(13,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005653/0.06658, allocations: 457.2 kB / 437 MB, free: 6.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.06771, allocations: 0.509 MB / 437.5 MB, free: 5.914 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.06771, allocations: 4 kB / 437.5 MB, free: 5.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005233/0.06824, allocations: 343.2 kB / 437.8 MB, free: 5.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006379/0.06887, allocations: 242.7 kB / 438.1 MB, free: 5.344 MB / 394.7 MB Error: Error parsing unit l/(cmH2O.s): Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.07049, allocations: 0.7902 MB / 438.9 MB, free: 4.523 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.867e-05/0.07056, allocations: 117.7 kB / 439 MB, free: 4.391 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.07066, allocations: 27.28 kB / 439 MB, free: 4.363 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.07069, allocations: 20.5 kB / 439 MB, free: 4.344 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.07069, allocations: 7.938 kB / 439 MB, free: 4.336 MB / 394.7 MB Notification: Performance of Templates: time 0.1277/0.1984, allocations: 15.9 MB / 454.9 MB, free: 81.11 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration -abortSlowSimulation -alarm=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5191286499612033]