Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.conf.json 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.001795/0.001795, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.002054/0.002054, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 1.582/1.582, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 3.573/3.573, allocations: 274 MB / 0.5207 GB, free: 14.88 MB / 458.7 MB " [Timeout remaining time 176] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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) Running command: translateModel(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations") translateModel(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 0.7563 GB, free: 9.898 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.23e-05, allocations: 4.672 kB / 0.7563 GB, free: 9.895 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.007195/0.007228, allocations: 1.266 MB / 0.7575 GB, free: 8.633 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0002973/0.007525, allocations: 41.34 kB / 0.7576 GB, free: 8.594 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.007571, allocations: 4 kB / 0.7576 GB, free: 8.59 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.007596, allocations: 0 / 0.7576 GB, free: 8.59 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 6.836e-05/0.007664, allocations: 5.25 kB / 0.7576 GB, free: 8.586 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.007847, allocations: 7.922 kB / 0.7576 GB, free: 8.578 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 9.197e-05/0.007939, allocations: 28.34 kB / 0.7576 GB, free: 8.555 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.782e-05/0.008007, allocations: 4 kB / 0.7576 GB, free: 8.551 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.008076, allocations: 17.3 kB / 0.7576 GB, free: 8.535 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/0.01121, allocations: 9.406 kB / 0.7576 GB, free: 8.527 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.01125, allocations: 4 kB / 0.7576 GB, free: 8.523 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.01126, allocations: 0 / 0.7576 GB, free: 8.523 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 3.374e-05/0.0113, allocations: 13.41 kB / 0.7576 GB, free: 8.512 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.01133, allocations: 5.297 kB / 0.7576 GB, free: 8.508 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 9.916e-05/0.01143, allocations: 17.17 kB / 0.7577 GB, free: 8.492 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/0.01143, allocations: 0 / 0.7577 GB, free: 8.492 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.373e-06/0.01144, allocations: 5.75 kB / 0.7577 GB, free: 8.488 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.01144, allocations: 0 / 0.7577 GB, free: 8.488 MB / 0.5887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007617/0.0122, allocations: 274.2 kB / 0.7579 GB, free: 8.188 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.01225, allocations: 8.031 kB / 0.7579 GB, free: 8.18 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.0123, allocations: 4.938 kB / 0.7579 GB, free: 8.176 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.01249, allocations: 109.8 kB / 0.758 GB, free: 8.043 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.01252, allocations: 4.375 kB / 0.758 GB, free: 8.039 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.01254, allocations: 384 / 0.7581 GB, free: 8.039 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.01278, allocations: 63.8 kB / 0.7581 GB, free: 7.969 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.01279, allocations: 192 / 0.7581 GB, free: 7.969 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.0128, allocations: 4.312 kB / 0.7581 GB, free: 7.965 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.01281, allocations: 8.375 kB / 0.7581 GB, free: 7.957 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.013, allocations: 27.86 kB / 0.7581 GB, free: 7.93 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.01355, allocations: 273.8 kB / 0.7584 GB, free: 7.629 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.01373, allocations: 34.59 kB / 0.7584 GB, free: 7.586 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.774e-05/0.01382, allocations: 12.86 kB / 0.7585 GB, free: 7.57 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.01384, allocations: 5.25 kB / 0.7585 GB, free: 7.566 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.952e-05/0.01391, allocations: 34.56 kB / 0.7585 GB, free: 7.523 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.01391, allocations: 0 / 0.7585 GB, free: 7.523 MB / 0.5887 GB Notification: Performance of matching and sorting (n=4): time 0.0004176/0.01433, allocations: 69.66 kB / 0.7586 GB, free: 7.449 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.0144, allocations: 55.41 kB / 0.7586 GB, free: 7.383 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.01458, allocations: 105.8 kB / 0.7587 GB, free: 7.27 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.01462, allocations: 33.7 kB / 0.7587 GB, free: 7.23 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.01472, allocations: 88.08 kB / 0.7588 GB, free: 7.141 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.01476, allocations: 15.89 kB / 0.7588 GB, free: 7.125 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.173e-05/0.01484, allocations: 21.72 kB / 0.7589 GB, free: 7.098 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0002572/0.01509, allocations: 310.8 kB / 0.7592 GB, free: 6.785 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.011e-05/0.01518, allocations: 15.92 kB / 0.7592 GB, free: 6.77 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.923e-05/0.01528, allocations: 23.14 kB / 0.7592 GB, free: 6.742 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.01545, allocations: 37.7 kB / 0.7592 GB, free: 6.699 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01545, allocations: 4 kB / 0.7592 GB, free: 6.695 MB / 0.5887 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002958/0.01575, allocations: 69.75 kB / 0.7593 GB, free: 6.621 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.01578, allocations: 11.92 kB / 0.7593 GB, free: 6.609 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01579, allocations: 0 / 0.7593 GB, free: 6.609 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.01581, allocations: 0 / 0.7593 GB, free: 6.609 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.01601, allocations: 12 kB / 0.7593 GB, free: 6.598 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.01602, allocations: 4 kB / 0.7593 GB, free: 6.594 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.01615, allocations: 19.88 kB / 0.7594 GB, free: 6.574 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.01616, allocations: 0 / 0.7594 GB, free: 6.574 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.01631, allocations: 113.9 kB / 0.7595 GB, free: 6.453 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.01636, allocations: 0 / 0.7595 GB, free: 6.453 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.01666, allocations: 79.08 kB / 0.7595 GB, free: 6.367 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.01667, allocations: 0 / 0.7595 GB, free: 6.367 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.01667, allocations: 0 / 0.7595 GB, free: 6.367 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01668, allocations: 0 / 0.7595 GB, free: 6.367 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.01697, allocations: 109.3 kB / 0.7596 GB, free: 6.23 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01697, allocations: 0 / 0.7596 GB, free: 6.23 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.01712, allocations: 12 kB / 0.7597 GB, free: 6.219 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.01712, allocations: 0 / 0.7597 GB, free: 6.219 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.01713, allocations: 4 kB / 0.7597 GB, free: 6.215 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.01714, allocations: 3.938 kB / 0.7597 GB, free: 6.211 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.01714, allocations: 0 / 0.7597 GB, free: 6.211 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.0175, allocations: 167.4 kB / 0.7598 GB, free: 6.031 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.01752, allocations: 0 / 0.7598 GB, free: 6.031 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.01754, allocations: 4 kB / 0.7598 GB, free: 6.027 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.01769, allocations: 9.25 kB / 0.7598 GB, free: 6.02 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.01774, allocations: 7.594 kB / 0.7598 GB, free: 6.016 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.01775, allocations: 192 / 0.7598 GB, free: 6.016 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.0001041/0.01785, allocations: 87.28 kB / 0.7599 GB, free: 5.93 MB / 0.5887 GB Notification: Performance of sort global known variables: time 2.61e-07/0.01785, allocations: 4 kB / 0.7599 GB, free: 5.926 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0004487/0.0183, allocations: 8 kB / 0.7599 GB, free: 5.918 MB / 0.5887 GB 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002025/0.0185, allocations: 95.23 kB / 0.76 GB, free: 5.816 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.000254/0.01876, allocations: 39.92 kB / 0.7601 GB, free: 5.777 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.01876, allocations: 0 / 0.7601 GB, free: 5.777 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.01885, allocations: 12 kB / 0.7601 GB, free: 5.766 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.01933, allocations: 10.69 kB / 0.7601 GB, free: 5.758 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.01983, allocations: 128.7 kB / 0.7602 GB, free: 5.605 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.01994, allocations: 72.66 kB / 0.7603 GB, free: 5.516 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 4.949e-05/0.01999, allocations: 4 kB / 0.7603 GB, free: 5.512 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.02004, allocations: 8.5 kB / 0.7603 GB, free: 5.504 MB / 0.5887 GB Notification: Performance of SimCode: time 6.31e-07/0.02004, allocations: 0 / 0.7603 GB, free: 5.504 MB / 0.5887 GB Notification: Performance of Templates: time 0.005554/0.0256, allocations: 0.4922 MB / 0.7608 GB, free: 5.031 MB / 0.5887 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.090495819691569]