Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.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.001315/0.001315, allocations: 108.3 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.001795/0.001795, allocations: 217.3 kB / 23 MB, free: 2.953 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.048/1.048, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7703/0.7703, allocations: 312.3 MB / 0.6108 GB, free: 97.54 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.N05AH04_Quetiapine.Quetiapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=136800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=136800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine") [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.001561/0.001561, allocations: 75.19 kB / 0.7699 GB, free: 20.13 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1403, allocations: 73.99 MB / 0.8422 GB, free: 10.28 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine): time 0.0039/0.1442, allocations: 3.029 MB / 0.8451 GB, free: 7.25 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005755/0.1499, allocations: 6.629 MB / 0.8516 GB, free: 0.6211 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1501, allocations: 8.531 kB / 0.8516 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.1503, allocations: 36.38 kB / 0.8516 GB, free: 0.5781 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.1505, allocations: 136.1 kB / 0.8518 GB, free: 456 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.1508, allocations: 84.5 kB / 0.8518 GB, free: 372 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.1512, allocations: 414.1 kB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.1513, allocations: 54.27 kB / 0.8523 GB, free: 15.9 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1515, allocations: 152.1 kB / 0.8524 GB, free: 15.75 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.1517, allocations: 151.8 kB / 0.8526 GB, free: 15.61 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.206e-05/0.1518, allocations: 32 kB / 0.8526 GB, free: 15.57 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.185e-05/0.1518, allocations: 32.62 kB / 0.8526 GB, free: 15.54 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.1519, allocations: 59.83 kB / 0.8527 GB, free: 15.48 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.152, allocations: 151.8 kB / 0.8528 GB, free: 15.34 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.1523, allocations: 355.2 kB / 0.8532 GB, free: 14.99 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1523, allocations: 0 / 0.8532 GB, free: 14.99 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1523, allocations: 4.531 kB / 0.8532 GB, free: 14.98 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1523, allocations: 0.5312 kB / 0.8532 GB, free: 14.98 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.0008901/0.1532, allocations: 0.6133 MB / 0.8538 GB, free: 14.32 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1533, allocations: 8.031 kB / 0.8538 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.1533, allocations: 37.2 kB / 0.8538 GB, free: 14.28 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.1536, allocations: 225.6 kB / 0.854 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.1536, allocations: 17.34 kB / 0.8541 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.1537, allocations: 27.89 kB / 0.8541 GB, free: 13.99 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.154, allocations: 302.3 kB / 0.8544 GB, free: 13.67 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.1541, allocations: 7.984 kB / 0.8544 GB, free: 13.66 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.1541, allocations: 8.578 kB / 0.8544 GB, free: 13.66 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.1541, allocations: 4 kB / 0.8544 GB, free: 13.65 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.1544, allocations: 253.5 kB / 0.8546 GB, free: 13.39 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00081/0.1552, allocations: 0.6443 MB / 0.8553 GB, free: 12.71 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.1557, allocations: 272.3 kB / 0.8555 GB, free: 12.43 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.1558, allocations: 161.1 kB / 0.8557 GB, free: 12.26 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.1558, allocations: 0 / 0.8557 GB, free: 12.26 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2722/0.4281, allocations: 368.4 kB / 0.856 GB, free: 30.59 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 2.836e-06/0.4281, allocations: 0 / 0.856 GB, free: 30.59 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001324/0.4294, allocations: 1.132 MB / 0.8571 GB, free: 30.09 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.4295, allocations: 222.5 kB / 0.8573 GB, free: 29.84 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.4296, allocations: 255.9 kB / 0.8576 GB, free: 29.74 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.4296, allocations: 42.02 kB / 0.8576 GB, free: 29.71 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.4297, allocations: 154.9 kB / 0.8578 GB, free: 29.61 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.4298, allocations: 122.8 kB / 0.8579 GB, free: 29.55 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.4298, allocations: 71.12 kB / 0.858 GB, free: 29.53 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.263e-05/0.4299, allocations: 346.8 kB / 0.8583 GB, free: 29.22 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.43, allocations: 221.6 kB / 0.8585 GB, free: 29.11 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.4302, allocations: 329.4 kB / 0.8588 GB, free: 28.88 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.4306, allocations: 452.2 kB / 0.8593 GB, free: 28.62 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4306, allocations: 0 / 0.8593 GB, free: 28.62 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000441/0.431, allocations: 0.5738 MB / 0.8598 GB, free: 28.38 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.431, allocations: 90.03 kB / 0.8599 GB, free: 28.29 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.431, allocations: 4.594 kB / 0.8599 GB, free: 28.29 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.431, allocations: 2.094 kB / 0.8599 GB, free: 28.29 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.4312, allocations: 89.72 kB / 0.86 GB, free: 28.29 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.4312, allocations: 8.531 kB / 0.86 GB, free: 28.29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.4314, allocations: 24.62 kB / 0.86 GB, free: 28.29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.4314, allocations: 13.59 kB / 0.86 GB, free: 28.29 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.0001532/0.4315, allocations: 238.8 kB / 0.8603 GB, free: 28.1 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.4315, allocations: 29.53 kB / 0.8603 GB, free: 28.08 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.4316, allocations: 33.05 kB / 0.8603 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4316, allocations: 3.625 kB / 0.8603 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4316, allocations: 0 / 0.8603 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4316, allocations: 2.344 kB / 0.8603 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006645/0.4323, allocations: 0.825 MB / 0.8611 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4323, allocations: 6.859 kB / 0.8611 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.4324, allocations: 55.2 kB / 0.8612 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4324, allocations: 1.969 kB / 0.8612 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.4324, allocations: 11.61 kB / 0.8612 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4324, allocations: 3.516 kB / 0.8612 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4324, allocations: 0.8125 kB / 0.8612 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005921/0.433, allocations: 0.7673 MB / 0.862 GB, free: 27.35 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.849e-05/0.4331, allocations: 54.64 kB / 0.862 GB, free: 27.33 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.4332, allocations: 12.12 kB / 0.862 GB, free: 27.33 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4333, allocations: 17.66 kB / 0.862 GB, free: 27.33 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.4333, allocations: 32.23 kB / 0.8621 GB, free: 27.33 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.4334, allocations: 16.75 kB / 0.8621 GB, free: 27.33 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001097/0.4335, allocations: 187.1 kB / 0.8623 GB, free: 27.25 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4335, allocations: 0.625 kB / 0.8623 GB, free: 27.25 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002143/0.4337, allocations: 85.59 kB / 0.8623 GB, free: 27.25 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 8.315e-05/0.4338, allocations: 127.7 kB / 0.8625 GB, free: 27.16 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004438/0.4342, allocations: 0.593 MB / 0.863 GB, free: 26.79 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4342, allocations: 0 / 0.863 GB, free: 26.79 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.4344, allocations: 314.2 kB / 0.8633 GB, free: 26.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.4348, allocations: 89.66 kB / 0.8634 GB, free: 26.6 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.4359, allocations: 1.059 MB / 0.8645 GB, free: 26.07 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.436, allocations: 167.8 kB / 0.8646 GB, free: 25.99 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.035e-05/0.4361, allocations: 35.55 kB / 0.8647 GB, free: 25.98 MB / 490.8 MB Notification: Performance of SimCode: time 4.71e-07/0.4361, allocations: 1.188 kB / 0.8647 GB, free: 25.98 MB / 490.8 MB Notification: Performance of Templates: time 0.005138/0.4412, allocations: 4.343 MB / 0.8689 GB, free: 25.58 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.389199201948941]