Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.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.001907/0.001907, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002276/0.002276, allocations: 214.4 kB / 22.25 MB, free: 3.574 MB / 13.93 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.761/1.761, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.368/1.368, allocations: 316.7 MB / 0.6144 GB, free: 93.03 MB / 410.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=140400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=140400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003876/0.003876, allocations: 73.89 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.147, allocations: 73.99 MB / 0.8473 GB, free: 4.863 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine): time 0.004748/0.1518, allocations: 3.017 MB / 0.8502 GB, free: 1.844 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3414/0.4932, allocations: 6.645 MB / 0.8567 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002706/0.4935, allocations: 3.438 kB / 0.8567 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.4937, allocations: 41.67 kB / 0.8568 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.494, allocations: 123.6 kB / 0.8569 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.4943, allocations: 81.28 kB / 0.8569 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.4946, allocations: 412.2 kB / 0.8573 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.4948, allocations: 61.23 kB / 0.8574 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.495, allocations: 158.2 kB / 0.8575 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.4953, allocations: 141.9 kB / 0.8577 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 6.195e-05/0.4954, allocations: 33.56 kB / 0.8577 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.333e-05/0.4954, allocations: 33.28 kB / 0.8577 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.4955, allocations: 70.23 kB / 0.8578 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.4956, allocations: 136 kB / 0.8579 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.496, allocations: 367.4 kB / 0.8583 GB, free: 21.72 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.496, allocations: 3.281 kB / 0.8583 GB, free: 21.72 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.773e-06/0.496, allocations: 0 / 0.8583 GB, free: 21.72 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.496, allocations: 0.75 kB / 0.8583 GB, free: 21.72 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009716/0.497, allocations: 0.6092 MB / 0.8589 GB, free: 21.25 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.4971, allocations: 13.8 kB / 0.8589 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.128e-05/0.4971, allocations: 38.83 kB / 0.8589 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.4974, allocations: 222.8 kB / 0.8592 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.4974, allocations: 14.16 kB / 0.8592 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.4975, allocations: 32.83 kB / 0.8592 GB, free: 21.06 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.498, allocations: 302 kB / 0.8595 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.498, allocations: 0.625 kB / 0.8595 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.498, allocations: 13.81 kB / 0.8595 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.498, allocations: 4.031 kB / 0.8595 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.4984, allocations: 244.6 kB / 0.8597 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009789/0.4994, allocations: 0.6554 MB / 0.8604 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.5, allocations: 269 kB / 0.8606 GB, free: 20.46 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.5003, allocations: 155.9 kB / 0.8608 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.5003, allocations: 4.25 kB / 0.8608 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004583/0.5007, allocations: 375.6 kB / 0.8611 GB, free: 20.14 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.5007, allocations: 0.5312 kB / 0.8611 GB, free: 20.14 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001933/0.5027, allocations: 1.137 MB / 0.8623 GB, free: 19.6 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.5027, allocations: 220.3 kB / 0.8625 GB, free: 19.35 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.503, allocations: 247.6 kB / 0.8627 GB, free: 19.25 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.503, allocations: 36.42 kB / 0.8627 GB, free: 19.21 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.5031, allocations: 158.9 kB / 0.8629 GB, free: 19.11 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/0.5032, allocations: 121.6 kB / 0.863 GB, free: 19.03 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.5033, allocations: 73.47 kB / 0.8631 GB, free: 19.02 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.064e-05/0.5033, allocations: 342.5 kB / 0.8634 GB, free: 18.7 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.5036, allocations: 219.5 kB / 0.8636 GB, free: 18.6 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.504, allocations: 331.3 kB / 0.8639 GB, free: 18.36 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/0.5046, allocations: 451.6 kB / 0.8644 GB, free: 18.1 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5046, allocations: 1.125 kB / 0.8644 GB, free: 18.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008775/0.5054, allocations: 0.5786 MB / 0.8649 GB, free: 17.84 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.5055, allocations: 91.66 kB / 0.865 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5055, allocations: 8.391 kB / 0.865 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.5055, allocations: 5.188 kB / 0.865 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.5058, allocations: 78.45 kB / 0.8651 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.5059, allocations: 9.641 kB / 0.8651 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.5061, allocations: 23.5 kB / 0.8651 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.5061, allocations: 21.53 kB / 0.8652 GB, free: 17.73 MB / 490.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.000292/0.5064, allocations: 231.7 kB / 0.8654 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.5065, allocations: 33.75 kB / 0.8654 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.945e-05/0.5065, allocations: 33.48 kB / 0.8654 GB, free: 17.52 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.5066, allocations: 5.938 kB / 0.8654 GB, free: 17.52 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.5066, allocations: 0 / 0.8654 GB, free: 17.52 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5066, allocations: 2.25 kB / 0.8654 GB, free: 17.52 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.508, allocations: 0.8105 MB / 0.8662 GB, free: 17.15 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.508, allocations: 2.406 kB / 0.8662 GB, free: 17.15 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.5083, allocations: 58.86 kB / 0.8663 GB, free: 17.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.5083, allocations: 3.562 kB / 0.8663 GB, free: 17.14 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.5083, allocations: 13.75 kB / 0.8663 GB, free: 17.14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.5083, allocations: 9.312 kB / 0.8663 GB, free: 17.14 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5083, allocations: 2.594 kB / 0.8663 GB, free: 17.14 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.5094, allocations: 0.7668 MB / 0.8671 GB, free: 16.78 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.5095, allocations: 56.53 kB / 0.8671 GB, free: 16.77 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.5096, allocations: 13.83 kB / 0.8671 GB, free: 16.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.5098, allocations: 23.84 kB / 0.8672 GB, free: 16.76 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.5099, allocations: 29.78 kB / 0.8672 GB, free: 16.76 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.5099, allocations: 17.44 kB / 0.8672 GB, free: 16.76 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001966/0.5101, allocations: 181.8 kB / 0.8674 GB, free: 16.68 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5101, allocations: 0 / 0.8674 GB, free: 16.68 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004021/0.5105, allocations: 87 kB / 0.8675 GB, free: 16.68 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.000144/0.5107, allocations: 129.8 kB / 0.8676 GB, free: 16.59 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0008534/0.5115, allocations: 0.5906 MB / 0.8682 GB, free: 16.22 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5115, allocations: 1.969 kB / 0.8682 GB, free: 16.22 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003531/0.5119, allocations: 310.9 kB / 0.8685 GB, free: 16.03 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.5125, allocations: 98.89 kB / 0.8686 GB, free: 16.03 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.5148, allocations: 1.04 MB / 0.8696 GB, free: 15.48 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.5151, allocations: 168 kB / 0.8697 GB, free: 15.4 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0003041/0.5154, allocations: 37.5 kB / 0.8698 GB, free: 15.39 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.5155, allocations: 27.58 kB / 0.8698 GB, free: 15.39 MB / 490.8 MB Notification: Performance of SimCode: time 1.613e-06/0.5155, allocations: 0 / 0.8698 GB, free: 15.39 MB / 490.8 MB Notification: Performance of Templates: time 0.0125/0.528, allocations: 5.286 MB / 0.875 GB, free: 14.86 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.979766622185707]