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.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1434/0.1434, allocations: 15.27 MB / 30.54 MB, free: 5.707 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 106.8 kB / 35.57 MB, free: 1.133 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001462, allocations: 188.5 kB / 40.69 MB, free: 4.734 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.3 MB / 268.9 MB, free: 2.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1267/0.1267, allocations: 23.4 MB / 347.7 MB, free: 6.75 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004487, allocations: 12 kB / 420.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.236, allocations: 60.47 MB / 480.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.0238/0.2598, allocations: 34.57 MB / 0.5032 GB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01633/0.2762, allocations: 17.5 MB / 0.5203 GB, free: 160 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003583/0.2765, allocations: 11.88 kB / 0.5203 GB, free: 148 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.2769, allocations: 87.47 kB / 0.5204 GB, free: 60 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004087/0.281, allocations: 1.653 MB / 0.522 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.2841, allocations: 1.158 MB / 0.5231 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000817/0.2849, allocations: 0.8215 MB / 0.5239 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007651/0.2857, allocations: 0.7048 MB / 0.5246 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00219/0.2879, allocations: 1.192 MB / 0.5258 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007158/0.2886, allocations: 0.5806 MB / 0.5263 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.758e-05/0.2887, allocations: 60 kB / 0.5264 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005223/0.2939, allocations: 2.514 MB / 0.5289 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.2942, allocations: 243.3 kB / 0.5291 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.2945, allocations: 316.7 kB / 0.5294 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005012/0.2996, allocations: 2.706 MB / 0.532 GB, free: 4.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2996, allocations: 3.984 kB / 0.532 GB, free: 4.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2996, allocations: 0 / 0.532 GB, free: 4.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.2996, allocations: 0 / 0.532 GB, free: 4.066 MB / 382.1 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.001988/0.3016, allocations: 0.9312 MB / 0.533 GB, free: 3.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3016, allocations: 12.03 kB / 0.533 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.3018, allocations: 39.52 kB / 0.533 GB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.3023, allocations: 413.8 kB / 0.5334 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.3023, allocations: 20.56 kB / 0.5334 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.3024, allocations: 23.94 kB / 0.5334 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/0.3033, allocations: 0.598 MB / 0.534 GB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3034, allocations: 0 / 0.534 GB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-05/0.3034, allocations: 16 kB / 0.534 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3034, allocations: 4 kB / 0.534 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.3048, allocations: 0.8726 MB / 0.5349 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.3073, allocations: 1.453 MB / 0.5363 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006738/0.308, allocations: 342.5 kB / 0.5366 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/0.3085, allocations: 300.7 kB / 0.5369 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002538/0.3087, allocations: 125.6 kB / 0.537 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.3088, allocations: 34.56 kB / 0.5371 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009359/0.3097, allocations: 171.6 kB / 0.5372 GB, free: 14.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.966e-06/0.3097, allocations: 4 kB / 0.5372 GB, free: 14.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.009371/0.3191, allocations: 2.149 MB / 0.5393 GB, free: 12.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.3192, allocations: 55.41 kB / 0.5394 GB, free: 12.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.3196, allocations: 376.5 kB / 0.5398 GB, free: 11.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.3196, allocations: 29.7 kB / 0.5398 GB, free: 11.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.3197, allocations: 160.5 kB / 0.5399 GB, free: 11.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.698e-05/0.3198, allocations: 106.5 kB / 0.54 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.3199, allocations: 29.7 kB / 0.5401 GB, free: 11.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.32, allocations: 346.8 kB / 0.5404 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.3204, allocations: 227.9 kB / 0.5406 GB, free: 10.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.3208, allocations: 231.9 kB / 0.5408 GB, free: 10.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007839/0.3215, allocations: 0.5099 MB / 0.5413 GB, free: 10.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3216, allocations: 4 kB / 0.5413 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002042/0.3236, allocations: 0.9467 MB / 0.5423 GB, free: 9.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.3237, allocations: 11.88 kB / 0.5423 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3237, allocations: 3.984 kB / 0.5423 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01699/0.3407, allocations: 2.724 MB / 0.5449 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.489e-05/0.3407, allocations: 0 / 0.5449 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002964/0.3437, allocations: 1.52 MB / 0.5464 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.3441, allocations: 8 kB / 0.5464 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-05/0.3441, allocations: 27.95 kB / 0.5465 GB, free: 4.965 MB / 398.1 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.0002023/0.3444, allocations: 173.6 kB / 0.5466 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.314e-05/0.3444, allocations: 39.52 kB / 0.5467 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.3465, allocations: 1.092 MB / 0.5477 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.3465, allocations: 4 kB / 0.5477 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3465, allocations: 4 kB / 0.5477 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3465, allocations: 3.984 kB / 0.5477 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.3488, allocations: 1.744 MB / 0.5494 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.3488, allocations: 3.938 kB / 0.5494 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.3488, allocations: 4 kB / 0.5494 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005313/0.3542, allocations: 1.421 MB / 0.5508 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.3542, allocations: 11.98 kB / 0.5508 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.3564, allocations: 1.553 MB / 0.5524 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3564, allocations: 0 / 0.5524 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.3577, allocations: 0.9912 MB / 0.5533 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.3579, allocations: 160.6 kB / 0.5535 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.358, allocations: 8 kB / 0.5535 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.3582, allocations: 8 kB / 0.5535 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.3583, allocations: 23.91 kB / 0.5535 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.3584, allocations: 19.94 kB / 0.5535 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002674/0.3586, allocations: 267 kB / 0.5538 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3587, allocations: 0 / 0.5538 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001355/0.36, allocations: 0.5736 MB / 0.5544 GB, free: 12.72 MB / 414.1 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.001655/0.3617, allocations: 1.05 MB / 0.5554 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002208/0.3639, allocations: 0.7319 MB / 0.5561 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3639, allocations: 4 kB / 0.5561 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.365, allocations: 455.5 kB / 0.5565 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.3664, allocations: 284.6 kB / 0.5568 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.3678, allocations: 1.016 MB / 0.5578 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.3681, allocations: 0.8004 MB / 0.5586 GB, free: 8.348 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.3683, allocations: 55.22 kB / 0.5586 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.3683, allocations: 23.44 kB / 0.5587 GB, free: 8.266 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3683, allocations: 0 / 0.5587 GB, free: 8.266 MB / 414.1 MB Notification: Performance of Templates: time 0.2132/0.5816, allocations: 24.61 MB / 0.5827 GB, free: 107.8 MB / 430.1 MB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.makefile (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=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe 2>&1)