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.08719/0.08719, allocations: 15.28 MB / 30.51 MB, free: 4.355 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.001038/0.001038, allocations: 116.8 kB / 35.49 MB, free: 3.395 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.001361/0.001361, allocations: 192.5 kB / 40.59 MB, free: 7.465 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.414/1.414, allocations: 222.9 MB / 268.4 MB, free: 7.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1822/0.1822, allocations: 23.35 MB / 346.1 MB, free: 428 kB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00197/0.001971, allocations: 107.8 kB / 417.7 MB, free: 30.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1359, allocations: 59.37 MB / 477 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.03916/0.1751, allocations: 35.01 MB / 0.5 GB, free: 180 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2815/0.4566, allocations: 17.52 MB / 0.5172 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005132/0.4571, allocations: 14.25 kB / 0.5172 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.4576, allocations: 98.86 kB / 0.5173 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.4628, allocations: 1.652 MB / 0.5189 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004034/0.4668, allocations: 1.181 MB / 0.52 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.4681, allocations: 0.567 MB / 0.5206 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.4693, allocations: 0.7182 MB / 0.5213 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003381/0.4727, allocations: 1.216 MB / 0.5225 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.474, allocations: 0.5864 MB / 0.523 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.4741, allocations: 66.47 kB / 0.5231 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008294/0.4824, allocations: 2.396 MB / 0.5254 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006164/0.4831, allocations: 243.1 kB / 0.5257 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.4842, allocations: 305.8 kB / 0.526 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.4971, allocations: 2.732 MB / 0.5286 GB, free: 14.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4971, allocations: 1.719 kB / 0.5286 GB, free: 14.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4972, allocations: 0 / 0.5286 GB, free: 14.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.781e-05/0.4972, allocations: 0 / 0.5286 GB, free: 14.59 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.004503/0.5017, allocations: 1.057 MB / 0.5297 GB, free: 13.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.5018, allocations: 11.67 kB / 0.5297 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003204/0.5021, allocations: 35.25 kB / 0.5297 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008947/0.503, allocations: 408.8 kB / 0.5301 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.5031, allocations: 20.12 kB / 0.5301 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.5032, allocations: 23.19 kB / 0.5301 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.5046, allocations: 0.6024 MB / 0.5307 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.5047, allocations: 0.5625 kB / 0.5307 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-05/0.5047, allocations: 12.09 kB / 0.5307 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.5047, allocations: 8.562 kB / 0.5308 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.5065, allocations: 0.8749 MB / 0.5316 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.5095, allocations: 1.434 MB / 0.533 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.5102, allocations: 340.9 kB / 0.5333 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005342/0.5107, allocations: 304.7 kB / 0.5336 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.511, allocations: 135.5 kB / 0.5338 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.5111, allocations: 36.69 kB / 0.5338 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001101/0.5122, allocations: 176.5 kB / 0.534 GB, free: 13.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 4.839e-06/0.5122, allocations: 6.484 kB / 0.534 GB, free: 13.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.009376/0.5216, allocations: 2.132 MB / 0.536 GB, free: 12.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.5217, allocations: 56.66 kB / 0.5361 GB, free: 12.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/0.5222, allocations: 361.4 kB / 0.5364 GB, free: 12.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.354e-05/0.5222, allocations: 33.92 kB / 0.5365 GB, free: 12.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.5224, allocations: 160.6 kB / 0.5366 GB, free: 12.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.5225, allocations: 108.2 kB / 0.5367 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.5227, allocations: 90.28 kB / 0.5368 GB, free: 12.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5228, allocations: 346.6 kB / 0.5371 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.5232, allocations: 233 kB / 0.5374 GB, free: 12.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.5236, allocations: 229.5 kB / 0.5376 GB, free: 12.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008751/0.5245, allocations: 0.5102 MB / 0.5381 GB, free: 12.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5245, allocations: 7.219 kB / 0.5381 GB, free: 12.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002058/0.5266, allocations: 0.9409 MB / 0.539 GB, free: 12.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.5266, allocations: 6.531 kB / 0.539 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5266, allocations: 0 / 0.539 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01661/0.5432, allocations: 2.706 MB / 0.5417 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.23e-05/0.5433, allocations: 2.875 kB / 0.5417 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.5465, allocations: 1.525 MB / 0.5432 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.547, allocations: 7.312 kB / 0.5432 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.293e-05/0.5471, allocations: 26.83 kB / 0.5432 GB, free: 10.3 MB / 382.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.0002436/0.5473, allocations: 156.5 kB / 0.5433 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.5475, allocations: 37.69 kB / 0.5434 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.5494, allocations: 1.096 MB / 0.5444 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5495, allocations: 5.906 kB / 0.5444 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5495, allocations: 0 / 0.5444 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5495, allocations: 0 / 0.5444 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.5518, allocations: 1.768 MB / 0.5462 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.5519, allocations: 0 / 0.5462 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.5519, allocations: 5.109 kB / 0.5462 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/0.5538, allocations: 0.7805 MB / 0.5469 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.5539, allocations: 6.781 kB / 0.5469 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/0.5559, allocations: 1.552 MB / 0.5485 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5559, allocations: 0 / 0.5485 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.5571, allocations: 0.9846 MB / 0.5494 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.5574, allocations: 154.9 kB / 0.5496 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/0.5575, allocations: 12.77 kB / 0.5496 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.5578, allocations: 10.97 kB / 0.5496 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/0.5579, allocations: 20.38 kB / 0.5496 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.5579, allocations: 12.7 kB / 0.5496 GB, free: 6.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002459/0.5582, allocations: 266.2 kB / 0.5499 GB, free: 6.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5582, allocations: 2.969 kB / 0.5499 GB, free: 6.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002034/0.5602, allocations: 0.5769 MB / 0.5504 GB, free: 5.832 MB / 382.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.002804/0.563, allocations: 1.06 MB / 0.5515 GB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.5653, allocations: 0.7599 MB / 0.5522 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.5653, allocations: 0 / 0.5522 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.5664, allocations: 476.2 kB / 0.5527 GB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.5678, allocations: 293.1 kB / 0.553 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.5691, allocations: 0.992 MB / 0.5539 GB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.5693, allocations: 0.8002 MB / 0.5547 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001925/0.5695, allocations: 39.31 kB / 0.5547 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.5696, allocations: 27.42 kB / 0.5548 GB, free: 1.918 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5696, allocations: 4 kB / 0.5548 GB, free: 1.914 MB / 382.1 MB Notification: Performance of Templates: time 0.03517/0.6047, allocations: 25.51 MB / 0.5797 GB, free: 8.609 MB / 414.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)