Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.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.001804/0.001804, 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.00202/0.00202, allocations: 165.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.751/1.751, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.556/3.556, allocations: 274 MB / 0.5207 GB, free: 14.94 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.Examples.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") translateModel(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.7563 GB, free: 9.984 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.802e-05, allocations: 2.281 kB / 0.7563 GB, free: 9.98 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation): time 0.00307/0.003098, allocations: 1.502 MB / 0.7577 GB, free: 8.484 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0007232/0.003821, allocations: 317.2 kB / 0.758 GB, free: 8.176 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.003864, allocations: 4 kB / 0.758 GB, free: 8.172 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.004143, allocations: 45.14 kB / 0.7581 GB, free: 8.129 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 7.042e-05/0.004214, allocations: 20.06 kB / 0.7581 GB, free: 8.113 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.00453, allocations: 102.5 kB / 0.7582 GB, free: 8.016 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.004639, allocations: 54.94 kB / 0.7583 GB, free: 7.977 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.004683, allocations: 0 / 0.7583 GB, free: 7.977 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.904e-05/0.004752, allocations: 30.72 kB / 0.7583 GB, free: 7.949 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.872e-05/0.004851, allocations: 20.14 kB / 0.7583 GB, free: 7.934 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.004871, allocations: 3.984 kB / 0.7583 GB, free: 7.93 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.005113, allocations: 141.3 kB / 0.7584 GB, free: 7.801 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.005167, allocations: 20.14 kB / 0.7585 GB, free: 7.785 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.005206, allocations: 14.08 kB / 0.7585 GB, free: 7.773 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.005522, allocations: 194.3 kB / 0.7587 GB, free: 7.586 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005524, allocations: 0 / 0.7587 GB, free: 7.586 MB / 0.5887 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005525, allocations: 0 / 0.7587 GB, free: 7.586 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.00553, allocations: 0 / 0.7587 GB, free: 7.586 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005285/0.006058, allocations: 305.9 kB / 0.7589 GB, free: 7.254 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.006101, allocations: 8.031 kB / 0.759 GB, free: 7.246 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.006234, allocations: 24.88 kB / 0.759 GB, free: 7.223 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.006372, allocations: 121.6 kB / 0.7591 GB, free: 7.078 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.006389, allocations: 4.312 kB / 0.7591 GB, free: 7.074 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.006409, allocations: 4.375 kB / 0.7591 GB, free: 7.07 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.006647, allocations: 123.8 kB / 0.7592 GB, free: 6.938 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.006665, allocations: 192 / 0.7592 GB, free: 6.938 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.006678, allocations: 8.312 kB / 0.7592 GB, free: 6.93 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.006686, allocations: 4.359 kB / 0.7592 GB, free: 6.926 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.006841, allocations: 99.89 kB / 0.7593 GB, free: 6.828 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.007433, allocations: 372.7 kB / 0.7597 GB, free: 6.43 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.007671, allocations: 86.61 kB / 0.7598 GB, free: 6.336 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.406e-05/0.007745, allocations: 44.84 kB / 0.7598 GB, free: 6.289 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.007753, allocations: 4 kB / 0.7598 GB, free: 6.285 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.007783, allocations: 30.56 kB / 0.7598 GB, free: 6.246 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.007784, allocations: 0 / 0.7598 GB, free: 6.246 MB / 0.5887 GB Notification: Performance of matching and sorting (n=5): time 0.0003482/0.008132, allocations: 185.5 kB / 0.76 GB, free: 6.059 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.008184, allocations: 55.41 kB / 0.7601 GB, free: 5.992 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.008409, allocations: 212.5 kB / 0.7603 GB, free: 5.773 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.00843, allocations: 33.7 kB / 0.7603 GB, free: 5.734 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.0085, allocations: 92.14 kB / 0.7604 GB, free: 5.641 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.008527, allocations: 19.84 kB / 0.7604 GB, free: 5.621 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.00858, allocations: 17.72 kB / 0.7604 GB, free: 5.598 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.008745, allocations: 322.8 kB / 0.7607 GB, free: 5.273 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.226e-05/0.008837, allocations: 67.97 kB / 0.7608 GB, free: 5.207 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.606e-05/0.008933, allocations: 81.62 kB / 0.7609 GB, free: 5.121 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.009325, allocations: 205.5 kB / 0.7611 GB, free: 4.914 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.009327, allocations: 0 / 0.7611 GB, free: 4.914 MB / 0.5887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002676/0.009594, allocations: 193.8 kB / 0.7613 GB, free: 4.719 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.009611, allocations: 7.938 kB / 0.7613 GB, free: 4.711 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.009615, allocations: 0 / 0.7613 GB, free: 4.711 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.009631, allocations: 4 kB / 0.7613 GB, free: 4.707 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.009695, allocations: 15.92 kB / 0.7613 GB, free: 4.691 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.0097, allocations: 0 / 0.7613 GB, free: 4.691 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/0.009734, allocations: 7.938 kB / 0.7613 GB, free: 4.684 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.009795, allocations: 19.97 kB / 0.7613 GB, free: 4.664 MB / 0.5887 GB Warning: Assuming fixed start value for the following 1 variables: M:VARIABLE(min = -1e-12 start = 4e-4 unit = \"kg\" fixed = true ) 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: 1 (clMod.dbgStatus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001529/0.009948, allocations: 129.9 kB / 0.7614 GB, free: 4.527 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.009987, allocations: 11.95 kB / 0.7615 GB, free: 4.516 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.01002, allocations: 12.41 kB / 0.7615 GB, free: 4.504 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01002, allocations: 4 kB / 0.7615 GB, free: 4.5 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01002, allocations: 0 / 0.7615 GB, free: 4.5 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.01003, allocations: 3.984 kB / 0.7615 GB, free: 4.496 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.01022, allocations: 137 kB / 0.7616 GB, free: 4.336 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01022, allocations: 0 / 0.7616 GB, free: 4.336 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.01028, allocations: 11.98 kB / 0.7616 GB, free: 4.324 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.01028, allocations: 0 / 0.7616 GB, free: 4.324 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.01029, allocations: 0 / 0.7616 GB, free: 4.324 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.0103, allocations: 7.938 kB / 0.7616 GB, free: 4.316 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.0103, allocations: 3.938 kB / 0.7616 GB, free: 4.312 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.01067, allocations: 299.5 kB / 0.7619 GB, free: 4.004 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.01068, allocations: 3.953 kB / 0.7619 GB, free: 4 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.0107, allocations: 4.031 kB / 0.7619 GB, free: 3.996 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.558e-05/0.01076, allocations: 3.938 kB / 0.7619 GB, free: 3.992 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.01077, allocations: 3.984 kB / 0.7619 GB, free: 3.988 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.0108, allocations: 23.97 kB / 0.7619 GB, free: 3.965 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.0001456/0.01095, allocations: 155.2 kB / 0.7621 GB, free: 3.812 MB / 0.5887 GB Notification: Performance of sort global known variables: time 7e-08/0.01095, allocations: 0 / 0.7621 GB, free: 3.812 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.000265/0.01121, allocations: 28 kB / 0.7621 GB, free: 3.785 MB / 0.5887 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 (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.0003003/0.01151, allocations: 155.1 kB / 0.7623 GB, free: 3.625 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.01173, allocations: 123.8 kB / 0.7624 GB, free: 3.504 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01174, allocations: 0 / 0.7624 GB, free: 3.504 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 6.585e-05/0.0118, allocations: 47.92 kB / 0.7624 GB, free: 3.457 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.01207, allocations: 14.8 kB / 0.7624 GB, free: 3.445 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.01268, allocations: 277.2 kB / 0.7627 GB, free: 3.148 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.01279, allocations: 87.33 kB / 0.7628 GB, free: 3.043 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 9.79e-05/0.01289, allocations: 63.83 kB / 0.7629 GB, free: 2.98 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.01291, allocations: 12.5 kB / 0.7629 GB, free: 2.965 MB / 0.5887 GB Notification: Performance of SimCode: time 4.41e-07/0.01291, allocations: 0 / 0.7629 GB, free: 2.965 MB / 0.5887 GB Notification: Performance of Templates: time 0.004648/0.01756, allocations: 1.203 MB / 0.764 GB, free: 1.793 MB / 0.5887 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.043928361032158]