Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.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.0009279/0.0009279, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.00101/0.00101, allocations: 165 kB / 23.02 MB, free: 1.547 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 0.9953/0.9953, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.603/1.603, allocations: 273.5 MB / 0.5209 GB, free: 14.8 MB / 458.7 MB " [Timeout remaining time 178] 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_GentamicinEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicinEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 1.422 kB / 0.6469 GB, free: 38.59 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.91e-05, allocations: 3.625 kB / 0.647 GB, free: 38.59 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.001902/0.001931, allocations: 1.322 MB / 0.6482 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.000264/0.002195, allocations: 96.64 kB / 0.6483 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.002222, allocations: 0 / 0.6483 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.002246, allocations: 3.938 kB / 0.6483 GB, free: 37.65 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.459e-05/0.00231, allocations: 3.594 kB / 0.6483 GB, free: 37.65 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.002478, allocations: 10.28 kB / 0.6484 GB, free: 37.65 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.719e-05/0.002535, allocations: 22.17 kB / 0.6484 GB, free: 37.64 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.002576, allocations: 4.688 kB / 0.6484 GB, free: 37.64 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.318e-05/0.002609, allocations: 6.75 kB / 0.6484 GB, free: 37.64 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.002746, allocations: 10.88 kB / 0.6484 GB, free: 37.64 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.00276, allocations: 0 / 0.6484 GB, free: 37.64 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-06/0.002768, allocations: 1.125 kB / 0.6484 GB, free: 37.64 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.002778, allocations: 6.625 kB / 0.6484 GB, free: 37.64 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.0028, allocations: 11.95 kB / 0.6484 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.3e-05/0.002863, allocations: 14.17 kB / 0.6484 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.002866, allocations: 0 / 0.6484 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.002867, allocations: 0.9688 kB / 0.6484 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.002872, allocations: 1.422 kB / 0.6484 GB, free: 37.63 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002977/0.00317, allocations: 340.9 kB / 0.6488 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.003208, allocations: 10.31 kB / 0.6488 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.003244, allocations: 7.125 kB / 0.6488 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.602e-05/0.00331, allocations: 116.1 kB / 0.6489 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.003322, allocations: 384 / 0.6489 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.003348, allocations: 1.844 kB / 0.6489 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.603e-05/0.003434, allocations: 56 kB / 0.6489 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.003441, allocations: 192 / 0.6489 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.00345, allocations: 384 / 0.6489 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.00346, allocations: 9.906 kB / 0.6489 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.588e-05/0.003486, allocations: 13.52 kB / 0.649 GB, free: 37.06 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.003687, allocations: 242.6 kB / 0.6492 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.645e-05/0.003744, allocations: 41.98 kB / 0.6492 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.00376, allocations: 9.906 kB / 0.6492 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.003767, allocations: 1.344 kB / 0.6492 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.003784, allocations: 35.61 kB / 0.6493 GB, free: 36.7 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.003785, allocations: 0 / 0.6493 GB, free: 36.7 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2): time 0.0001164/0.003901, allocations: 47.91 kB / 0.6493 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.00392, allocations: 53.78 kB / 0.6494 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.062e-05/0.003981, allocations: 160.5 kB / 0.6495 GB, free: 36.43 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-06/0.003986, allocations: 26.7 kB / 0.6496 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.004015, allocations: 142.4 kB / 0.6497 GB, free: 36.26 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 8.376e-06/0.004023, allocations: 3.953 kB / 0.6497 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.004046, allocations: 20.78 kB / 0.6497 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.391e-05/0.00409, allocations: 496.1 kB / 0.6502 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.004101, allocations: 8.438 kB / 0.6502 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/0.004115, allocations: 17.28 kB / 0.6502 GB, free: 35.71 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.213e-05/0.004157, allocations: 30 kB / 0.6502 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.004159, allocations: 3.891 kB / 0.6502 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.464e-05/0.004214, allocations: 47.83 kB / 0.6503 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.004226, allocations: 5.5 kB / 0.6503 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.004232, allocations: 7.188 kB / 0.6503 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.004248, allocations: 4.781 kB / 0.6503 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.004308, allocations: 4.969 kB / 0.6503 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.004315, allocations: 3.984 kB / 0.6503 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.004332, allocations: 3.75 kB / 0.6503 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.004336, allocations: 0 / 0.6503 GB, free: 35.64 MB / 0.5262 GB Warning: Assuming fixed start value for the following 1 variables: M:VARIABLE(min = -1e-12 start = 4e-4 unit = \"kg\" fixed = true ) \"Mass of drug [kg]\" type: Real 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 (4): * Single equations (assignments): 4 * 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 8.827e-05/0.004424, allocations: 173.4 kB / 0.6505 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-06/0.004431, allocations: 6.172 kB / 0.6505 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.004457, allocations: 10.67 kB / 0.6505 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.004459, allocations: 0 / 0.6505 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.004463, allocations: 3.375 kB / 0.6505 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.004465, allocations: 0 / 0.6505 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.632e-05/0.004511, allocations: 111.3 kB / 0.6506 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.004512, allocations: 1.281 kB / 0.6506 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.004553, allocations: 6.5 kB / 0.6506 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.004554, allocations: 2.125 kB / 0.6506 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.004567, allocations: 0 / 0.6506 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.004568, allocations: 9.094 kB / 0.6506 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.004569, allocations: 0 / 0.6506 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.51e-05/0.004664, allocations: 82.06 kB / 0.6507 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-06/0.004674, allocations: 2.781 kB / 0.6507 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.004683, allocations: 1.312 kB / 0.6507 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-06/0.004692, allocations: 5.062 kB / 0.6507 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.004709, allocations: 5.703 kB / 0.6507 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.004711, allocations: 0 / 0.6507 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.138e-05/0.004732, allocations: 127.5 kB / 0.6508 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.004732, allocations: 1.094 kB / 0.6508 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001219/0.004854, allocations: 7.938 kB / 0.6508 GB, free: 35.1 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (M) * 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 (2): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.253e-05/0.004917, allocations: 93.19 kB / 0.6509 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 7.762e-05/0.004994, allocations: 20.62 kB / 0.651 GB, free: 35 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.004996, allocations: 1.219 kB / 0.651 GB, free: 35 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 9.057e-06/0.005005, allocations: 15.47 kB / 0.651 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.005161, allocations: 9.656 kB / 0.651 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.005819, allocations: 190.3 kB / 0.6512 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.086e-05/0.00584, allocations: 58.5 kB / 0.6512 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.856e-05/0.005858, allocations: 4.547 kB / 0.6512 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.005881, allocations: 10.78 kB / 0.6512 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of SimCode: time 9.52e-07/0.005882, allocations: 3.094 kB / 0.6512 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of Templates: time 0.001949/0.007832, allocations: 386.4 kB / 0.6516 GB, free: 34.7 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.84806011384353]