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.1149/0.1149, allocations: 15.26 MB / 30.24 MB, free: 6.223 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.0007802/0.0007802, allocations: 107.2 kB / 35.25 MB, free: 1.352 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.0009838/0.0009837, allocations: 184.5 kB / 40.36 MB, free: 4.969 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.539/1.539, allocations: 223.3 MB / 268.6 MB, free: 2.133 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1737/0.1737, allocations: 23.39 MB / 347.3 MB, free: 6.875 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.000492, allocations: 16 kB / 419.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.353, allocations: 60.48 MB / 480.1 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.02491/0.378, allocations: 32.37 MB / 0.5004 GB, free: 4.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01636/0.3944, allocations: 16.31 MB / 0.5163 GB, free: 3.875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004935/0.3949, allocations: 15.88 kB / 0.5163 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.3954, allocations: 95.2 kB / 0.5164 GB, free: 3.766 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004345/0.3998, allocations: 1.464 MB / 0.5179 GB, free: 2.293 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.4032, allocations: 0.9708 MB / 0.5188 GB, free: 1.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009425/0.4042, allocations: 0.7044 MB / 0.5195 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008255/0.405, allocations: 0.6612 MB / 0.5202 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.4078, allocations: 1.163 MB / 0.5213 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007841/0.4086, allocations: 0.5768 MB / 0.5219 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.916e-05/0.4087, allocations: 60 kB / 0.5219 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008772/0.4175, allocations: 1.727 MB / 0.5236 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004148/0.418, allocations: 243.5 kB / 0.5238 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.4182, allocations: 101.5 kB / 0.5239 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003843/0.4221, allocations: 1.935 MB / 0.5258 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.4221, allocations: 0 / 0.5258 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4221, allocations: 3.938 kB / 0.5258 GB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.4221, allocations: 0 / 0.5258 GB, free: 10.12 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.002072/0.4242, allocations: 0.939 MB / 0.5267 GB, free: 9.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4243, allocations: 12.02 kB / 0.5267 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.4244, allocations: 39.53 kB / 0.5268 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.4249, allocations: 398.1 kB / 0.5272 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.4249, allocations: 16.56 kB / 0.5272 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.541e-05/0.425, allocations: 27.95 kB / 0.5272 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008997/0.4259, allocations: 0.5941 MB / 0.5278 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4259, allocations: 0 / 0.5278 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/0.426, allocations: 12 kB / 0.5278 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.426, allocations: 7.938 kB / 0.5278 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.4274, allocations: 0.8688 MB / 0.5287 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.4297, allocations: 1.469 MB / 0.5301 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.4303, allocations: 338.6 kB / 0.5304 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.4307, allocations: 296.7 kB / 0.5307 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.4309, allocations: 125 kB / 0.5308 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.431, allocations: 34.56 kB / 0.5308 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007234/0.4317, allocations: 175.6 kB / 0.531 GB, free: 4.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.4317, allocations: 0 / 0.531 GB, free: 4.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.007772/0.4395, allocations: 2.146 MB / 0.5331 GB, free: 2.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.4396, allocations: 59.36 kB / 0.5332 GB, free: 2.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.44, allocations: 364.5 kB / 0.5335 GB, free: 1.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.44, allocations: 29.7 kB / 0.5335 GB, free: 1.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.4401, allocations: 156.6 kB / 0.5337 GB, free: 1.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.4403, allocations: 102.5 kB / 0.5338 GB, free: 1.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.4403, allocations: 4 kB / 0.5338 GB, free: 1.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4404, allocations: 350.8 kB / 0.5341 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.4408, allocations: 227.9 kB / 0.5343 GB, free: 1.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.4411, allocations: 228.9 kB / 0.5346 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.4415, allocations: 268.3 kB / 0.5348 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4415, allocations: 0 / 0.5348 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001913/0.4434, allocations: 0.9468 MB / 0.5357 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4435, allocations: 7.953 kB / 0.5357 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.4435, allocations: 4 kB / 0.5358 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01437/0.4579, allocations: 2.724 MB / 0.5384 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.6e-05/0.4579, allocations: 0 / 0.5384 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.4608, allocations: 1.52 MB / 0.5399 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.4611, allocations: 12 kB / 0.5399 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.047e-05/0.4612, allocations: 31.95 kB / 0.5399 GB, free: 11.33 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {13 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002205/0.4614, allocations: 157.8 kB / 0.5401 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.4615, allocations: 39.61 kB / 0.5401 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.4637, allocations: 1.096 MB / 0.5412 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.4637, allocations: 7.938 kB / 0.5412 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4637, allocations: 0 / 0.5412 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.4638, allocations: 3.984 kB / 0.5412 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/0.4667, allocations: 1.732 MB / 0.5429 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.4667, allocations: 0 / 0.5429 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.4668, allocations: 7.938 kB / 0.5429 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004956/0.4717, allocations: 1.417 MB / 0.5443 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.4718, allocations: 7.984 kB / 0.5443 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.4739, allocations: 1.541 MB / 0.5458 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4739, allocations: 0 / 0.5458 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.4753, allocations: 0.9918 MB / 0.5468 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.4755, allocations: 164.5 kB / 0.5469 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.4756, allocations: 4 kB / 0.5469 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.4758, allocations: 8 kB / 0.5469 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.4759, allocations: 19.97 kB / 0.547 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.4759, allocations: 16 kB / 0.547 GB, free: 3.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000292/0.4762, allocations: 271 kB / 0.5472 GB, free: 3.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4762, allocations: 0 / 0.5472 GB, free: 3.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00165/0.4779, allocations: 0.5697 MB / 0.5478 GB, free: 3.137 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {13 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.001859/0.4798, allocations: 1.04 MB / 0.5488 GB, free: 2.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002075/0.4818, allocations: 0.7361 MB / 0.5495 GB, free: 1.352 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4819, allocations: 0 / 0.5495 GB, free: 1.352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.4829, allocations: 471.1 kB / 0.55 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.4843, allocations: 275.6 kB / 0.5502 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.486, allocations: 0.9853 MB / 0.5512 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.4864, allocations: 0.8044 MB / 0.552 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.4866, allocations: 39.31 kB / 0.552 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.4867, allocations: 19.44 kB / 0.552 GB, free: 14.73 MB / 414.1 MB Notification: Performance of SimCode: time 2.525e-06/0.4867, allocations: 0 / 0.552 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Templates: time 0.03428/0.521, allocations: 24.01 MB / 0.5755 GB, free: 6.824 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)