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.0009168/0.0009168, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.0009614/0.0009614, allocations: 220.4 kB / 23.01 MB, free: 2.941 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 0.9274/0.9274, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7255/0.7255, allocations: 312.3 MB / 0.6108 GB, free: 97.59 MB / 410.7 MB " [Timeout remaining time 179] 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.001539/0.001539, allocations: 86.19 kB / 0.7699 GB, free: 20.07 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.125, allocations: 73.99 MB / 0.8422 GB, free: 10.21 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine): time 0.003331/0.1283, allocations: 3.025 MB / 0.8451 GB, free: 7.188 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005983/0.1343, allocations: 6.629 MB / 0.8516 GB, free: 0.5586 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.1345, allocations: 8.438 kB / 0.8516 GB, free: 0.5508 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.1347, allocations: 40.34 kB / 0.8516 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.135, allocations: 128 kB / 0.8518 GB, free: 396 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.1353, allocations: 84.53 kB / 0.8518 GB, free: 312 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.1356, allocations: 414.8 kB / 0.8522 GB, free: 15.89 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.1358, allocations: 62.3 kB / 0.8523 GB, free: 15.84 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.136, allocations: 147.5 kB / 0.8524 GB, free: 15.69 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.1362, allocations: 147.8 kB / 0.8526 GB, free: 15.55 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.1362, allocations: 36.72 kB / 0.8526 GB, free: 15.51 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.948e-05/0.1363, allocations: 32 kB / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.1363, allocations: 68.34 kB / 0.8527 GB, free: 15.41 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.1365, allocations: 139.4 kB / 0.8528 GB, free: 15.28 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.1368, allocations: 363.3 kB / 0.8532 GB, free: 14.92 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1368, allocations: 4 kB / 0.8532 GB, free: 14.92 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1368, allocations: 0.6562 kB / 0.8532 GB, free: 14.92 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.1368, allocations: 0.7188 kB / 0.8532 GB, free: 14.92 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.0008407/0.1376, allocations: 0.6049 MB / 0.8538 GB, free: 14.27 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1377, allocations: 12.64 kB / 0.8538 GB, free: 14.25 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.711e-05/0.1377, allocations: 37.3 kB / 0.8538 GB, free: 14.22 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.138, allocations: 229 kB / 0.854 GB, free: 13.97 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.138, allocations: 17.41 kB / 0.8541 GB, free: 13.95 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.1381, allocations: 28.52 kB / 0.8541 GB, free: 13.93 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.1384, allocations: 305.6 kB / 0.8544 GB, free: 13.6 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1384, allocations: 0.5938 kB / 0.8544 GB, free: 13.6 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.1385, allocations: 8 kB / 0.8544 GB, free: 13.59 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1385, allocations: 4.5 kB / 0.8544 GB, free: 13.59 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.1388, allocations: 249.7 kB / 0.8546 GB, free: 13.33 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000985/0.1398, allocations: 0.6516 MB / 0.8553 GB, free: 12.65 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.1402, allocations: 274.6 kB / 0.8555 GB, free: 12.36 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.1404, allocations: 157.1 kB / 0.8557 GB, free: 12.2 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.1404, allocations: 8.672 kB / 0.8557 GB, free: 12.19 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3014/0.4418, allocations: 365.8 kB / 0.856 GB, free: 20.79 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.326e-06/0.4418, allocations: 0 / 0.856 GB, free: 20.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001429/0.4433, allocations: 1.134 MB / 0.8571 GB, free: 20.29 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.4433, allocations: 221.5 kB / 0.8574 GB, free: 20.04 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.4435, allocations: 259.2 kB / 0.8576 GB, free: 19.93 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.4435, allocations: 34.73 kB / 0.8576 GB, free: 19.9 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.4436, allocations: 151.4 kB / 0.8578 GB, free: 19.81 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.4437, allocations: 117.5 kB / 0.8579 GB, free: 19.75 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.4437, allocations: 82.75 kB / 0.858 GB, free: 19.73 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.4438, allocations: 348.6 kB / 0.8583 GB, free: 19.42 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.444, allocations: 219.6 kB / 0.8585 GB, free: 19.31 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.4442, allocations: 323.1 kB / 0.8588 GB, free: 19.08 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.4445, allocations: 461.2 kB / 0.8593 GB, free: 18.82 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4445, allocations: 0 / 0.8593 GB, free: 18.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000496/0.445, allocations: 0.5724 MB / 0.8598 GB, free: 18.58 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.4451, allocations: 89.78 kB / 0.8599 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4451, allocations: 1.312 kB / 0.8599 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4451, allocations: 7.906 kB / 0.8599 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.4453, allocations: 81.3 kB / 0.86 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.4453, allocations: 6.406 kB / 0.86 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.4454, allocations: 26.05 kB / 0.86 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.4455, allocations: 16.88 kB / 0.86 GB, free: 18.48 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.0002051/0.4457, allocations: 232.7 kB / 0.8603 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.4457, allocations: 33.03 kB / 0.8603 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.4457, allocations: 35.22 kB / 0.8603 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.4457, allocations: 1.125 kB / 0.8603 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4458, allocations: 4.688 kB / 0.8603 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4458, allocations: 1.078 kB / 0.8603 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007691/0.4465, allocations: 0.8139 MB / 0.8611 GB, free: 17.92 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4465, allocations: 5.578 kB / 0.8611 GB, free: 17.92 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.4467, allocations: 58.23 kB / 0.8612 GB, free: 17.92 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.4467, allocations: 3.422 kB / 0.8612 GB, free: 17.92 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.4467, allocations: 10.27 kB / 0.8612 GB, free: 17.92 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4467, allocations: 2.5 kB / 0.8612 GB, free: 17.92 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4467, allocations: 3.938 kB / 0.8612 GB, free: 17.91 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/0.4474, allocations: 0.7621 MB / 0.8619 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.966e-05/0.4475, allocations: 55.22 kB / 0.862 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.4475, allocations: 14.97 kB / 0.862 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.4476, allocations: 16.89 kB / 0.862 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.4477, allocations: 36.47 kB / 0.8621 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.4478, allocations: 15.5 kB / 0.8621 GB, free: 17.55 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001309/0.4479, allocations: 181.9 kB / 0.8623 GB, free: 17.47 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4479, allocations: 0.5938 kB / 0.8623 GB, free: 17.47 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002409/0.4481, allocations: 89.81 kB / 0.8623 GB, free: 17.47 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.0001219/0.4483, allocations: 129.9 kB / 0.8625 GB, free: 17.38 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005232/0.4488, allocations: 0.5939 MB / 0.863 GB, free: 17.03 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4488, allocations: 2.531 kB / 0.863 GB, free: 17.03 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.449, allocations: 317.8 kB / 0.8634 GB, free: 16.84 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.4494, allocations: 84.64 kB / 0.8634 GB, free: 16.84 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.4507, allocations: 1.069 MB / 0.8645 GB, free: 16.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.4509, allocations: 162.7 kB / 0.8646 GB, free: 16.22 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-05/0.4509, allocations: 34.83 kB / 0.8647 GB, free: 16.21 MB / 490.8 MB Notification: Performance of SimCode: time 1.072e-06/0.4509, allocations: 0 / 0.8647 GB, free: 16.21 MB / 490.8 MB Notification: Performance of Templates: time 0.006894/0.4578, allocations: 4.345 MB / 0.8689 GB, free: 15.82 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.542095448821783]