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.1399/0.1399, allocations: 15.28 MB / 30.4 MB, free: 4.395 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.001029/0.001029, allocations: 105.4 kB / 35.38 MB, free: 3.461 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.001179/0.001179, allocations: 189.1 kB / 40.46 MB, free: 7.547 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.447/1.447, allocations: 222.9 MB / 268.3 MB, free: 6.941 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.129/0.129, allocations: 23.36 MB / 346 MB, free: 0.8984 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 111.8 kB / 417.5 MB, free: 30.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1046, allocations: 59.37 MB / 476.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.03091/0.1355, allocations: 35.17 MB / 0.5 GB, free: 156 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.218/0.3535, allocations: 17.7 MB / 0.5173 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004483/0.354, allocations: 13.41 kB / 0.5173 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004555/0.3545, allocations: 93.52 kB / 0.5174 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004426/0.359, allocations: 1.646 MB / 0.519 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.3621, allocations: 1.163 MB / 0.5201 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.3632, allocations: 0.8288 MB / 0.5209 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007756/0.3639, allocations: 0.6943 MB / 0.5216 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.3664, allocations: 1.194 MB / 0.5228 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008112/0.3672, allocations: 0.5915 MB / 0.5234 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.3673, allocations: 60.72 kB / 0.5234 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006967/0.3743, allocations: 2.514 MB / 0.5259 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003532/0.3747, allocations: 240.5 kB / 0.5261 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004712/0.3752, allocations: 296.9 kB / 0.5264 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006831/0.382, allocations: 2.723 MB / 0.5291 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.382, allocations: 0 / 0.5291 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3821, allocations: 0 / 0.5291 GB, free: 13.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.3821, allocations: 0 / 0.5291 GB, free: 13.98 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.002511/0.3846, allocations: 1.057 MB / 0.5301 GB, free: 13.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3846, allocations: 10.8 kB / 0.5301 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.3848, allocations: 38.31 kB / 0.5301 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.3853, allocations: 413.3 kB / 0.5305 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.3853, allocations: 15.22 kB / 0.5305 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.134e-05/0.3854, allocations: 24.19 kB / 0.5306 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000935/0.3863, allocations: 0.6047 MB / 0.5312 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3864, allocations: 1.375 kB / 0.5312 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.3864, allocations: 8.312 kB / 0.5312 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.3864, allocations: 6.766 kB / 0.5312 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.3878, allocations: 0.8727 MB / 0.532 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0024/0.3903, allocations: 1.451 MB / 0.5334 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/0.3909, allocations: 335.7 kB / 0.5338 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004347/0.3913, allocations: 309.1 kB / 0.5341 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.3916, allocations: 132 kB / 0.5342 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.3916, allocations: 38.75 kB / 0.5342 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008272/0.3924, allocations: 163.8 kB / 0.5344 GB, free: 12.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.395e-06/0.3924, allocations: 1.078 kB / 0.5344 GB, free: 12.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.009044/0.4015, allocations: 2.131 MB / 0.5365 GB, free: 12.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.4015, allocations: 57.66 kB / 0.5365 GB, free: 12.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.4019, allocations: 366 kB / 0.5369 GB, free: 12.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.402, allocations: 29.55 kB / 0.5369 GB, free: 11.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/0.4021, allocations: 163.5 kB / 0.537 GB, free: 11.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.482e-05/0.4021, allocations: 111.6 kB / 0.5372 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.4023, allocations: 84.84 kB / 0.5372 GB, free: 11.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.4024, allocations: 346.4 kB / 0.5376 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.4028, allocations: 230.4 kB / 0.5378 GB, free: 11.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.4031, allocations: 231.1 kB / 0.538 GB, free: 11.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/0.4039, allocations: 0.5116 MB / 0.5385 GB, free: 11.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.4039, allocations: 3.938 kB / 0.5385 GB, free: 11.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002018/0.4059, allocations: 0.9492 MB / 0.5394 GB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.406, allocations: 4.062 kB / 0.5394 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.406, allocations: 1.781 kB / 0.5394 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01738/0.4233, allocations: 2.694 MB / 0.5421 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.183e-05/0.4235, allocations: 2.969 kB / 0.5421 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/0.4266, allocations: 1.529 MB / 0.5436 GB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.4271, allocations: 6.344 kB / 0.5436 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.4272, allocations: 26.39 kB / 0.5436 GB, free: 9.836 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.0002071/0.4274, allocations: 157.8 kB / 0.5437 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.4275, allocations: 37 kB / 0.5438 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.4294, allocations: 1.099 MB / 0.5449 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.4294, allocations: 2.875 kB / 0.5449 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.4295, allocations: 4 kB / 0.5449 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.557e-06/0.4295, allocations: 3.984 kB / 0.5449 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.4318, allocations: 1.746 MB / 0.5466 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.4319, allocations: 0 / 0.5466 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.4319, allocations: 2.656 kB / 0.5466 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005398/0.4373, allocations: 1.39 MB / 0.5479 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.4374, allocations: 9.578 kB / 0.5479 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.4394, allocations: 1.556 MB / 0.5495 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4394, allocations: 0 / 0.5495 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.4406, allocations: 0.9824 MB / 0.5504 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.4408, allocations: 157.3 kB / 0.5506 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.4409, allocations: 6.938 kB / 0.5506 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.4412, allocations: 13.45 kB / 0.5506 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.4413, allocations: 26.59 kB / 0.5506 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.4413, allocations: 15.47 kB / 0.5506 GB, free: 5.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.4416, allocations: 267.2 kB / 0.5509 GB, free: 5.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4416, allocations: 0 / 0.5509 GB, free: 5.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001843/0.4434, allocations: 0.5771 MB / 0.5514 GB, free: 5.125 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.001926/0.4454, allocations: 1.051 MB / 0.5525 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.4475, allocations: 0.7376 MB / 0.5532 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4475, allocations: 4 kB / 0.5532 GB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.4486, allocations: 459.6 kB / 0.5536 GB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.4498, allocations: 284.1 kB / 0.5539 GB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.451, allocations: 0.9862 MB / 0.5549 GB, free: 1.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.4512, allocations: 0.8044 MB / 0.5557 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000167/0.4514, allocations: 39.31 kB / 0.5557 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.4515, allocations: 27.38 kB / 0.5557 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4515, allocations: 0 / 0.5557 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of Templates: time 0.03264/0.4841, allocations: 24.78 MB / 0.5799 GB, free: 8.258 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)