Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.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.002034/0.002034, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.002081/0.002081, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.621/1.621, allocations: 230.6 MB / 256 MB, free: 9.609 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.497/1.497, allocations: 316.7 MB / 0.6144 GB, free: 92.99 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.N05AH03_Olanzapine.Olanzapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine") [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.004678/0.004678, allocations: 69.73 kB / 0.775 GB, free: 14.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1843, allocations: 73.99 MB / 0.8473 GB, free: 4.832 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine): time 0.005145/0.1894, allocations: 3.033 MB / 0.8502 GB, free: 1.797 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.321/0.5105, allocations: 6.634 MB / 0.8567 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.5108, allocations: 3.25 kB / 0.8567 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.511, allocations: 38.95 kB / 0.8567 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.5113, allocations: 124.8 kB / 0.8569 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.5116, allocations: 87.55 kB / 0.857 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.512, allocations: 414 kB / 0.8573 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.5121, allocations: 59.72 kB / 0.8574 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.5123, allocations: 145.6 kB / 0.8575 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.5126, allocations: 144.1 kB / 0.8577 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.5126, allocations: 34.97 kB / 0.8577 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.064e-05/0.5127, allocations: 34.66 kB / 0.8577 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.5127, allocations: 70.84 kB / 0.8578 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.5129, allocations: 144.9 kB / 0.858 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.5132, allocations: 357.6 kB / 0.8583 GB, free: 21.69 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5132, allocations: 1.969 kB / 0.8583 GB, free: 21.69 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5132, allocations: 0.9688 kB / 0.8583 GB, free: 21.69 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.5132, allocations: 0 / 0.8583 GB, free: 21.69 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.0009249/0.5141, allocations: 0.6074 MB / 0.8589 GB, free: 21.23 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.5142, allocations: 8.938 kB / 0.8589 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.5142, allocations: 38.2 kB / 0.8589 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.5145, allocations: 225.8 kB / 0.8591 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.5145, allocations: 23.12 kB / 0.8592 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.5146, allocations: 28.33 kB / 0.8592 GB, free: 21.03 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.515, allocations: 305 kB / 0.8595 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.5151, allocations: 2.344 kB / 0.8595 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.5151, allocations: 8.938 kB / 0.8595 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.5151, allocations: 7.562 kB / 0.8595 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.5155, allocations: 240.4 kB / 0.8597 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009149/0.5164, allocations: 0.6535 MB / 0.8604 GB, free: 20.52 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.517, allocations: 267 kB / 0.8606 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.5172, allocations: 163.2 kB / 0.8608 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.5172, allocations: 3 kB / 0.8608 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004028/0.5176, allocations: 372.1 kB / 0.8611 GB, free: 20.11 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.5176, allocations: 0.625 kB / 0.8611 GB, free: 20.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001734/0.5193, allocations: 1.13 MB / 0.8622 GB, free: 19.57 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.5194, allocations: 226.2 kB / 0.8625 GB, free: 19.32 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.5196, allocations: 253.6 kB / 0.8627 GB, free: 19.21 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.5196, allocations: 36.95 kB / 0.8627 GB, free: 19.18 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.5197, allocations: 155.1 kB / 0.8629 GB, free: 19.07 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.637e-05/0.5198, allocations: 120.6 kB / 0.863 GB, free: 19 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/0.5199, allocations: 70.58 kB / 0.8631 GB, free: 18.98 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.793e-05/0.5199, allocations: 351.5 kB / 0.8634 GB, free: 18.66 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.5202, allocations: 222.5 kB / 0.8636 GB, free: 18.56 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.5205, allocations: 323.5 kB / 0.8639 GB, free: 18.33 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.5211, allocations: 458.5 kB / 0.8644 GB, free: 18.06 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5211, allocations: 0.625 kB / 0.8644 GB, free: 18.06 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008182/0.5219, allocations: 0.5786 MB / 0.8649 GB, free: 17.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.5219, allocations: 90.05 kB / 0.865 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5219, allocations: 3.219 kB / 0.865 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.522, allocations: 5.656 kB / 0.865 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.5223, allocations: 80.44 kB / 0.8651 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.5223, allocations: 5.656 kB / 0.8651 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.5225, allocations: 27.28 kB / 0.8651 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.5225, allocations: 25.72 kB / 0.8652 GB, free: 17.69 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.00022/0.5228, allocations: 235.9 kB / 0.8654 GB, free: 17.51 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.5228, allocations: 31.91 kB / 0.8654 GB, free: 17.49 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.162e-05/0.5229, allocations: 33.88 kB / 0.8654 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.5229, allocations: 4.188 kB / 0.8654 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.5229, allocations: 0 / 0.8654 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5229, allocations: 3.562 kB / 0.8654 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.5239, allocations: 0.8098 MB / 0.8662 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5239, allocations: 1.641 kB / 0.8662 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.5242, allocations: 62.62 kB / 0.8663 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5242, allocations: 1.25 kB / 0.8663 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.5242, allocations: 12.56 kB / 0.8663 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5243, allocations: 5.766 kB / 0.8663 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5243, allocations: 0 / 0.8663 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009569/0.5252, allocations: 0.7693 MB / 0.8671 GB, free: 16.75 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.5253, allocations: 59.75 kB / 0.8671 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/0.5254, allocations: 10.52 kB / 0.8671 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.5256, allocations: 24.48 kB / 0.8672 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/0.5257, allocations: 31.47 kB / 0.8672 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.5257, allocations: 16.53 kB / 0.8672 GB, free: 16.73 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001629/0.5259, allocations: 184.5 kB / 0.8674 GB, free: 16.64 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.5259, allocations: 0 / 0.8674 GB, free: 16.64 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003435/0.5262, allocations: 89.81 kB / 0.8675 GB, free: 16.64 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.0001222/0.5263, allocations: 124.8 kB / 0.8676 GB, free: 16.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007461/0.5271, allocations: 0.5939 MB / 0.8682 GB, free: 16.19 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5271, allocations: 0 / 0.8682 GB, free: 16.19 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.5274, allocations: 318 kB / 0.8685 GB, free: 15.99 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.5279, allocations: 96.61 kB / 0.8686 GB, free: 15.99 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.5295, allocations: 1.038 MB / 0.8696 GB, free: 15.45 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.5296, allocations: 165.5 kB / 0.8697 GB, free: 15.36 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.5297, allocations: 33.83 kB / 0.8698 GB, free: 15.36 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.5298, allocations: 26.69 kB / 0.8698 GB, free: 15.35 MB / 490.8 MB Notification: Performance of SimCode: time 5.31e-07/0.5298, allocations: 0 / 0.8698 GB, free: 15.35 MB / 490.8 MB Notification: Performance of Templates: time 0.009891/0.5397, allocations: 5.29 MB / 0.875 GB, free: 14.82 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.362574619008228]