Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.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.001262/0.001262, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009922/0.0009922, allocations: 177 kB / 23.49 MB, free: 1.055 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.9587/0.9587, allocations: 177.1 MB / 203.8 MB, free: 5.289 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.545/1.545, allocations: 273.5 MB / 0.5213 GB, free: 14.84 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.PKOneCompartmentSimplestModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel") translateModel(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.6462 GB, free: 39.03 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.524e-05, allocations: 5.266 kB / 0.6462 GB, free: 39.03 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel): time 0.001719/0.001734, allocations: 1.723 MB / 0.6479 GB, free: 37.89 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002417/0.001976, allocations: 87.47 kB / 0.648 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.002029, allocations: 1.219 kB / 0.648 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.002134, allocations: 10.98 kB / 0.648 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 9.625e-05/0.002231, allocations: 23.12 kB / 0.648 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 9.987e-05/0.00233, allocations: 23.11 kB / 0.648 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.002488, allocations: 93.23 kB / 0.6481 GB, free: 37.79 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.002591, allocations: 4.656 kB / 0.6481 GB, free: 37.79 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.507e-05/0.002656, allocations: 46.31 kB / 0.6482 GB, free: 37.78 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.744e-05/0.002734, allocations: 25.88 kB / 0.6482 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.002755, allocations: 5.875 kB / 0.6482 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.00277, allocations: 5.125 kB / 0.6482 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.002791, allocations: 13.89 kB / 0.6482 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 4.915e-05/0.00284, allocations: 25.61 kB / 0.6482 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.002953, allocations: 57.02 kB / 0.6483 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002955, allocations: 2.844 kB / 0.6483 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002956, allocations: 0 / 0.6483 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.002959, allocations: 0 / 0.6483 GB, free: 37.73 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003481/0.003307, allocations: 424.6 kB / 0.6487 GB, free: 37.31 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.003344, allocations: 9.25 kB / 0.6487 GB, free: 37.31 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.00339, allocations: 12.45 kB / 0.6487 GB, free: 37.31 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.0035, allocations: 126.2 kB / 0.6488 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.00351, allocations: 11.34 kB / 0.6488 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.003534, allocations: 4.812 kB / 0.6488 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.003647, allocations: 98.97 kB / 0.6489 GB, free: 37.09 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.003659, allocations: 1.344 kB / 0.6489 GB, free: 37.09 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.00367, allocations: 6.781 kB / 0.6489 GB, free: 37.08 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.003677, allocations: 1.188 kB / 0.649 GB, free: 37.08 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.384e-05/0.003751, allocations: 62.38 kB / 0.649 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.004056, allocations: 316.1 kB / 0.6493 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.493e-05/0.004141, allocations: 91.38 kB / 0.6494 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.004174, allocations: 51.05 kB / 0.6494 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.004182, allocations: 4.531 kB / 0.6495 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.004294, allocations: 172.6 kB / 0.6496 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=12): time 2.204e-06/0.004296, allocations: 4.531 kB / 0.6496 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of matching and sorting (n=13): time 0.0005579/0.004854, allocations: 477.3 kB / 0.6501 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.004887, allocations: 133.1 kB / 0.6502 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.356e-05/0.004941, allocations: 164.5 kB / 0.6504 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.00495, allocations: 32.52 kB / 0.6504 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.453e-05/0.004975, allocations: 136.5 kB / 0.6505 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.005007, allocations: 45.62 kB / 0.6506 GB, free: 35.56 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.005044, allocations: 37.75 kB / 0.6506 GB, free: 35.53 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.00509, allocations: 0.4908 MB / 0.6511 GB, free: 35.03 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/0.005135, allocations: 63.62 kB / 0.6511 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.69e-05/0.005182, allocations: 99.7 kB / 0.6512 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.005303, allocations: 204.4 kB / 0.6514 GB, free: 34.69 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.005305, allocations: 0.5625 kB / 0.6514 GB, free: 34.69 MB / 0.5262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001542/0.005459, allocations: 184 kB / 0.6516 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.005481, allocations: 37.06 kB / 0.6516 GB, free: 34.54 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.005486, allocations: 3.125 kB / 0.6516 GB, free: 34.54 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.005499, allocations: 2.281 kB / 0.6516 GB, free: 34.54 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.005598, allocations: 29.84 kB / 0.6517 GB, free: 34.53 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.005604, allocations: 1.469 kB / 0.6517 GB, free: 34.53 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/0.005636, allocations: 10.75 kB / 0.6517 GB, free: 34.53 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.005644, allocations: 3.594 kB / 0.6517 GB, free: 34.53 MB / 0.5262 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.0001047/0.005748, allocations: 211.1 kB / 0.6519 GB, free: 34.32 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.005763, allocations: 15.17 kB / 0.6519 GB, free: 34.31 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.005788, allocations: 16.59 kB / 0.6519 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.00579, allocations: 0 / 0.6519 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.005793, allocations: 1.469 kB / 0.6519 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.005797, allocations: 0 / 0.6519 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.006056, allocations: 455.9 kB / 0.6524 GB, free: 33.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006057, allocations: 0 / 0.6524 GB, free: 33.91 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.819e-05/0.006126, allocations: 22.81 kB / 0.6524 GB, free: 33.91 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.006127, allocations: 2.75 kB / 0.6524 GB, free: 33.91 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.006137, allocations: 3.375 kB / 0.6524 GB, free: 33.91 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006139, allocations: 0 / 0.6524 GB, free: 33.91 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006139, allocations: 0 / 0.6524 GB, free: 33.91 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.006343, allocations: 403.1 kB / 0.6528 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-06/0.006352, allocations: 6.172 kB / 0.6528 GB, free: 33.58 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.00637, allocations: 7.938 kB / 0.6528 GB, free: 33.58 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.006407, allocations: 9.656 kB / 0.6528 GB, free: 33.57 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.006443, allocations: 6.797 kB / 0.6528 GB, free: 33.57 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.006449, allocations: 13.33 kB / 0.6528 GB, free: 33.57 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.442e-05/0.006474, allocations: 127.6 kB / 0.6529 GB, free: 33.45 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.006474, allocations: 1.375 kB / 0.6529 GB, free: 33.45 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001642/0.006638, allocations: 26.34 kB / 0.653 GB, free: 33.45 MB / 0.5262 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 5.683e-05/0.006695, allocations: 102.1 kB / 0.6531 GB, free: 33.36 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.00684, allocations: 193.2 kB / 0.6532 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.006842, allocations: 5.375 kB / 0.6532 GB, free: 33.2 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 5.332e-05/0.006895, allocations: 133.1 kB / 0.6534 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.007103, allocations: 20.31 kB / 0.6534 GB, free: 33.08 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.008066, allocations: 446 kB / 0.6538 GB, free: 32.79 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.983e-05/0.008106, allocations: 79.5 kB / 0.6539 GB, free: 32.72 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.008135, allocations: 17.62 kB / 0.6539 GB, free: 32.71 MB / 0.5262 GB Notification: Performance of SimCode: time 7.42e-07/0.008136, allocations: 0 / 0.6539 GB, free: 32.71 MB / 0.5262 GB Notification: Performance of Templates: time 0.001875/0.01001, allocations: 1.236 MB / 0.6551 GB, free: 32.62 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.222325387177989]