Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.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.001451/0.001451, allocations: 69.98 kB / 20.65 MB, free: 3.848 MB / 18.57 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.00102/0.00102, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.058/1.058, allocations: 177.1 MB / 204.5 MB, free: 5.105 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.629/1.629, allocations: 273.5 MB / 0.522 GB, free: 14.7 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.DevModels.Systems.PKOneCompartmentEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations") translateModel(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.6482 GB, free: 38.41 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.631e-05, allocations: 3.812 kB / 0.6482 GB, free: 38.41 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.001883/0.00191, allocations: 1.302 MB / 0.6494 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001846/0.002094, allocations: 52.16 kB / 0.6495 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.329e-05/0.002127, allocations: 0 / 0.6495 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 7.898e-05/0.002206, allocations: 5.359 kB / 0.6495 GB, free: 37.51 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 4.314e-05/0.00225, allocations: 4.375 kB / 0.6495 GB, free: 37.51 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.002407, allocations: 10.39 kB / 0.6495 GB, free: 37.51 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 8.64e-05/0.002493, allocations: 31.92 kB / 0.6495 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.002531, allocations: 7.984 kB / 0.6495 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.929e-05/0.002601, allocations: 16.56 kB / 0.6496 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.939e-05/0.00269, allocations: 15.77 kB / 0.6496 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.002708, allocations: 2.375 kB / 0.6496 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.002717, allocations: 2.75 kB / 0.6496 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.002736, allocations: 5.312 kB / 0.6496 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.002756, allocations: 5.328 kB / 0.6496 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.952e-05/0.002826, allocations: 21.89 kB / 0.6496 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.002828, allocations: 4 kB / 0.6496 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of FrontEnd: time 3.91e-07/0.002829, allocations: 0.9062 kB / 0.6496 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.002833, allocations: 0 / 0.6496 GB, free: 37.48 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.0002972/0.00313, allocations: 369.9 kB / 0.65 GB, free: 37.11 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.003163, allocations: 11 kB / 0.65 GB, free: 37.11 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.003185, allocations: 5.984 kB / 0.65 GB, free: 37.1 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.288e-05/0.003258, allocations: 111.9 kB / 0.6501 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.003265, allocations: 6.016 kB / 0.6501 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-06/0.003271, allocations: 2.562 kB / 0.6501 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.611e-05/0.003347, allocations: 73.73 kB / 0.6502 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-06/0.003351, allocations: 4.125 kB / 0.6502 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.003357, allocations: 384 / 0.6502 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-06/0.00336, allocations: 384 / 0.6502 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.402e-05/0.003374, allocations: 13.09 kB / 0.6502 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.003546, allocations: 354.4 kB / 0.6505 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 2.961e-05/0.003576, allocations: 30.53 kB / 0.6505 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.136e-05/0.003587, allocations: 7.688 kB / 0.6506 GB, free: 36.47 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.003597, allocations: 1.344 kB / 0.6506 GB, free: 36.47 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.16e-05/0.003608, allocations: 34.98 kB / 0.6506 GB, free: 36.43 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.003609, allocations: 1.312 kB / 0.6506 GB, free: 36.43 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 9.151e-05/0.003701, allocations: 40.44 kB / 0.6506 GB, free: 36.39 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.00372, allocations: 57.25 kB / 0.6507 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.003789, allocations: 175.3 kB / 0.6509 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/0.003795, allocations: 27.11 kB / 0.6509 GB, free: 36.12 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.003829, allocations: 132.6 kB / 0.651 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-06/0.003835, allocations: 5.797 kB / 0.651 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.003855, allocations: 22.34 kB / 0.651 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.003903, allocations: 497.8 kB / 0.6515 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-06/0.003911, allocations: 2.312 kB / 0.6515 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.003925, allocations: 22.42 kB / 0.6515 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.003946, allocations: 19.28 kB / 0.6515 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.003948, allocations: 2.688 kB / 0.6516 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.963e-05/0.003987, allocations: 42.88 kB / 0.6516 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.003999, allocations: 5.5 kB / 0.6516 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.004003, allocations: 2.781 kB / 0.6516 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.004011, allocations: 8.906 kB / 0.6516 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.873e-05/0.00406, allocations: 11.92 kB / 0.6516 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.004063, allocations: 2.25 kB / 0.6516 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.004085, allocations: 13 kB / 0.6516 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.004089, allocations: 0 / 0.6516 GB, free: 35.36 MB / 0.5262 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 (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 prepare postOptimizeDAE: time 4.123e-05/0.004131, allocations: 157.4 kB / 0.6518 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.004145, allocations: 2.375 kB / 0.6518 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.428e-05/0.004209, allocations: 43.67 kB / 0.6518 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.004212, allocations: 9.703 kB / 0.6518 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.004214, allocations: 0 / 0.6518 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.004217, allocations: 0 / 0.6518 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.95e-05/0.004286, allocations: 102.7 kB / 0.6519 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.004287, allocations: 0 / 0.6519 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.004307, allocations: 6.062 kB / 0.6519 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.004308, allocations: 0 / 0.6519 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.004313, allocations: 2.844 kB / 0.6519 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.004314, allocations: 0 / 0.6519 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.004315, allocations: 0 / 0.6519 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.14e-05/0.004376, allocations: 199.1 kB / 0.6521 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-06/0.004384, allocations: 2.188 kB / 0.6521 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-06/0.004391, allocations: 1.422 kB / 0.6521 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.014e-05/0.004421, allocations: 7.156 kB / 0.6521 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.004443, allocations: 5.219 kB / 0.6521 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.004445, allocations: 2.188 kB / 0.6522 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.346e-05/0.004469, allocations: 128.8 kB / 0.6523 GB, free: 34.72 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.004469, allocations: 1.375 kB / 0.6523 GB, free: 34.72 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.000127/0.004596, allocations: 4.031 kB / 0.6523 GB, free: 34.72 MB / 0.5262 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 (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.26e-05/0.004658, allocations: 94 kB / 0.6524 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 5.59e-05/0.004714, allocations: 22.66 kB / 0.6524 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 7.91e-07/0.004715, allocations: 0 / 0.6524 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.464e-05/0.00473, allocations: 19.53 kB / 0.6524 GB, free: 34.59 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.004903, allocations: 6.703 kB / 0.6524 GB, free: 34.59 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.005227, allocations: 133.4 kB / 0.6525 GB, free: 34.46 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.353e-05/0.005251, allocations: 64.38 kB / 0.6526 GB, free: 34.39 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.669e-05/0.005267, allocations: 0 / 0.6526 GB, free: 34.39 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.005303, allocations: 72.58 kB / 0.6527 GB, free: 34.32 MB / 0.5262 GB Notification: Performance of SimCode: time 8.91e-07/0.005304, allocations: 0 / 0.6527 GB, free: 34.32 MB / 0.5262 GB Notification: Performance of Templates: time 0.001685/0.00699, allocations: 0.5161 MB / 0.6532 GB, free: 34.26 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.788926362991333]