Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.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.002375/0.002375, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.002856/0.002856, allocations: 169.9 kB / 22.45 MB, free: 2.105 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.684/1.684, allocations: 177.1 MB / 202.8 MB, free: 5.73 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 4.284/4.284, allocations: 274 MB / 0.5207 GB, free: 14.88 MB / 458.7 MB " [Timeout remaining time 175] 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.Examples.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.7563 GB, free: 9.883 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.095e-05, allocations: 4.531 kB / 0.7563 GB, free: 9.879 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicineSimple): time 0.003066/0.003097, allocations: 1.674 MB / 0.7579 GB, free: 8.207 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0003136/0.003411, allocations: 91.64 kB / 0.758 GB, free: 8.117 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.003471, allocations: 0 / 0.758 GB, free: 8.117 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.003574, allocations: 9.234 kB / 0.758 GB, free: 8.109 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.003681, allocations: 24.33 kB / 0.758 GB, free: 8.094 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.003785, allocations: 19.97 kB / 0.7581 GB, free: 8.074 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.003976, allocations: 90.75 kB / 0.7581 GB, free: 8.012 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.004091, allocations: 8.188 kB / 0.7581 GB, free: 8.004 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.081e-05/0.004172, allocations: 46.8 kB / 0.7582 GB, free: 7.961 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.802e-05/0.00425, allocations: 23.91 kB / 0.7582 GB, free: 7.941 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.004273, allocations: 8 kB / 0.7582 GB, free: 7.934 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.004291, allocations: 8 kB / 0.7582 GB, free: 7.926 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.004318, allocations: 10.73 kB / 0.7582 GB, free: 7.918 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 5.982e-05/0.004377, allocations: 29.72 kB / 0.7583 GB, free: 7.891 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.004523, allocations: 64.67 kB / 0.7583 GB, free: 7.828 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.004526, allocations: 0 / 0.7583 GB, free: 7.828 MB / 0.5887 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004527, allocations: 4 kB / 0.7583 GB, free: 7.824 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.004532, allocations: 0 / 0.7583 GB, free: 7.824 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005629/0.005095, allocations: 319.8 kB / 0.7586 GB, free: 7.477 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.005137, allocations: 11.97 kB / 0.7586 GB, free: 7.465 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.005177, allocations: 8.875 kB / 0.7587 GB, free: 7.457 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.005351, allocations: 125.7 kB / 0.7588 GB, free: 7.309 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.005366, allocations: 4.375 kB / 0.7588 GB, free: 7.305 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.005399, allocations: 12.36 kB / 0.7588 GB, free: 7.293 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.005589, allocations: 99.94 kB / 0.7589 GB, free: 7.184 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.005602, allocations: 192 / 0.7589 GB, free: 7.184 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.005618, allocations: 7.938 kB / 0.7589 GB, free: 7.176 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.005622, allocations: 0 / 0.7589 GB, free: 7.176 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.005759, allocations: 77.59 kB / 0.759 GB, free: 7.094 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.006205, allocations: 264.3 kB / 0.7592 GB, free: 6.805 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.00637, allocations: 96.2 kB / 0.7593 GB, free: 6.695 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.006447, allocations: 58.55 kB / 0.7594 GB, free: 6.629 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.006459, allocations: 0 / 0.7594 GB, free: 6.629 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.006671, allocations: 168.5 kB / 0.7595 GB, free: 6.434 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/0.006672, allocations: 0 / 0.7595 GB, free: 6.434 MB / 0.5887 GB Notification: Performance of matching and sorting (n=13): time 0.0009434/0.007616, allocations: 0.4933 MB / 0.76 GB, free: 5.879 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.007732, allocations: 132.5 kB / 0.7601 GB, free: 5.719 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.007849, allocations: 105.8 kB / 0.7602 GB, free: 5.605 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.007878, allocations: 29.7 kB / 0.7603 GB, free: 5.57 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.00794, allocations: 92.09 kB / 0.7604 GB, free: 5.477 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.007992, allocations: 43.67 kB / 0.7604 GB, free: 5.434 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.008051, allocations: 33.7 kB / 0.7604 GB, free: 5.395 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.008224, allocations: 322.8 kB / 0.7607 GB, free: 5.07 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.455e-05/0.008318, allocations: 66.78 kB / 0.7608 GB, free: 4.992 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.008427, allocations: 85.98 kB / 0.7609 GB, free: 4.887 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.008844, allocations: 273.6 kB / 0.7611 GB, free: 4.582 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.008845, allocations: 0 / 0.7611 GB, free: 4.582 MB / 0.5887 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002853/0.00913, allocations: 197 kB / 0.7613 GB, free: 4.371 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.009173, allocations: 33.69 kB / 0.7614 GB, free: 4.332 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.009183, allocations: 4 kB / 0.7614 GB, free: 4.328 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.009196, allocations: 0 / 0.7614 GB, free: 4.328 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.009335, allocations: 31.92 kB / 0.7614 GB, free: 4.297 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.00934, allocations: 4 kB / 0.7614 GB, free: 4.293 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.319e-05/0.009394, allocations: 4.125 kB / 0.7614 GB, free: 4.289 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.009411, allocations: 12 kB / 0.7614 GB, free: 4.277 MB / 0.5887 GB Warning: Assuming fixed start value for the following 4 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,central.rising,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001988/0.009609, allocations: 168.2 kB / 0.7616 GB, free: 4.098 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.00963, allocations: 11.95 kB / 0.7616 GB, free: 4.086 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.009669, allocations: 8.438 kB / 0.7616 GB, free: 4.078 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.009678, allocations: 8 kB / 0.7616 GB, free: 4.07 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.009682, allocations: 4 kB / 0.7616 GB, free: 4.066 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.009687, allocations: 3.984 kB / 0.7616 GB, free: 4.062 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.01019, allocations: 405.5 kB / 0.762 GB, free: 3.617 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.0102, allocations: 0 / 0.762 GB, free: 3.617 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.01031, allocations: 15.98 kB / 0.762 GB, free: 3.602 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01031, allocations: 7.938 kB / 0.762 GB, free: 3.594 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.01032, allocations: 0 / 0.762 GB, free: 3.594 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01032, allocations: 0 / 0.762 GB, free: 3.594 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01032, allocations: 4 kB / 0.762 GB, free: 3.59 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.01077, allocations: 371.1 kB / 0.7624 GB, free: 3.195 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.01078, allocations: 7.953 kB / 0.7624 GB, free: 3.188 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.0108, allocations: 4 kB / 0.7624 GB, free: 3.184 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.01088, allocations: 12.03 kB / 0.7624 GB, free: 3.172 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.01092, allocations: 0 / 0.7624 GB, free: 3.172 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.01093, allocations: 11.92 kB / 0.7624 GB, free: 3.16 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 5.649e-05/0.01099, allocations: 87.28 kB / 0.7625 GB, free: 3.074 MB / 0.5887 GB Notification: Performance of sort global known variables: time 8e-08/0.01099, allocations: 0 / 0.7625 GB, free: 3.074 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0002445/0.01124, allocations: 24 kB / 0.7625 GB, free: 3.051 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (central.C,central.AUC,elim.MExc) * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 5 (central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.000117/0.01135, allocations: 99.25 kB / 0.7626 GB, free: 2.941 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.000292/0.01164, allocations: 202.8 kB / 0.7628 GB, free: 2.719 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01165, allocations: 0 / 0.7628 GB, free: 2.719 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.01178, allocations: 133 kB / 0.7629 GB, free: 2.57 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.01209, allocations: 27.91 kB / 0.763 GB, free: 2.547 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/0.01279, allocations: 362.4 kB / 0.7633 GB, free: 2.168 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.577e-05/0.01288, allocations: 79.27 kB / 0.7634 GB, free: 2.07 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 4.406e-05/0.01292, allocations: 20.33 kB / 0.7634 GB, free: 2.055 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.01295, allocations: 12.5 kB / 0.7634 GB, free: 2.043 MB / 0.5887 GB Notification: Performance of SimCode: time 5.61e-07/0.01295, allocations: 0 / 0.7634 GB, free: 2.043 MB / 0.5887 GB Notification: Performance of Templates: time 0.004488/0.01744, allocations: 1.231 MB / 0.7646 GB, free: 0.8672 MB / 0.5887 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.873719220981002]