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.001369/0.001369, allocations: 84.53 kB / 19.94 MB, free: 4.602 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.001418/0.001418, allocations: 173.2 kB / 23.21 MB, free: 1.324 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.9949/0.9949, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.6874/0.6874, allocations: 291.2 MB / 0.5382 GB, free: 51.51 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.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: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.6974 GB, free: 10.31 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.368e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.31 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine): time 0.002642/0.002666, allocations: 3.007 MB / 0.7003 GB, free: 7.281 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003802/0.006468, allocations: 6.65 MB / 0.7068 GB, free: 0.6211 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.006596, allocations: 4 kB / 0.7068 GB, free: 0.6172 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.006708, allocations: 39.56 kB / 0.7069 GB, free: 0.5781 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.006904, allocations: 130.9 kB / 0.707 GB, free: 460 kB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.007102, allocations: 91.78 kB / 0.7071 GB, free: 368 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.007383, allocations: 433.8 kB / 0.7075 GB, free: 15.93 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.007519, allocations: 62.06 kB / 0.7076 GB, free: 15.88 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.007698, allocations: 223.5 kB / 0.7078 GB, free: 15.66 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.007886, allocations: 127.6 kB / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.00792, allocations: 35.94 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.224e-05/0.007952, allocations: 32 kB / 0.708 GB, free: 15.46 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.00799, allocations: 63.7 kB / 0.708 GB, free: 15.4 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.315e-05/0.008083, allocations: 131.7 kB / 0.7081 GB, free: 15.27 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.008586, allocations: 347.1 kB / 0.7085 GB, free: 14.93 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.008588, allocations: 8 kB / 0.7085 GB, free: 14.93 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.012e-06/0.008589, allocations: 0 / 0.7085 GB, free: 14.93 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.008593, allocations: 3.938 kB / 0.7085 GB, free: 14.92 MB / 426.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.0007009/0.009294, allocations: 0.6037 MB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.009329, allocations: 15.89 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.009388, allocations: 36.7 kB / 0.7091 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.009605, allocations: 220.7 kB / 0.7093 GB, free: 13.98 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.009624, allocations: 24.88 kB / 0.7094 GB, free: 13.96 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.009659, allocations: 28.27 kB / 0.7094 GB, free: 13.93 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.009985, allocations: 310.2 kB / 0.7097 GB, free: 13.6 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.009998, allocations: 0 / 0.7097 GB, free: 13.6 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.01002, allocations: 8 kB / 0.7097 GB, free: 13.59 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.01002, allocations: 7.984 kB / 0.7097 GB, free: 13.58 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.01037, allocations: 248.2 kB / 0.7099 GB, free: 13.33 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007264/0.0111, allocations: 0.6504 MB / 0.7106 GB, free: 12.64 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.01149, allocations: 267.1 kB / 0.7108 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.01164, allocations: 160.4 kB / 0.711 GB, free: 12.19 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.01165, allocations: 4 kB / 0.711 GB, free: 12.18 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/0.01195, allocations: 379.4 kB / 0.7113 GB, free: 11.76 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.442e-06/0.01195, allocations: 0 / 0.7113 GB, free: 11.76 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001216/0.01317, allocations: 1.131 MB / 0.7125 GB, free: 10.54 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.01324, allocations: 217.6 kB / 0.7127 GB, free: 10.27 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.01341, allocations: 257.8 kB / 0.7129 GB, free: 10.02 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.01343, allocations: 33.7 kB / 0.7129 GB, free: 9.977 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.0135, allocations: 152.9 kB / 0.7131 GB, free: 9.82 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.01356, allocations: 123 kB / 0.7132 GB, free: 9.699 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.015e-05/0.01363, allocations: 70.19 kB / 0.7133 GB, free: 9.625 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.01371, allocations: 346.8 kB / 0.7136 GB, free: 9.277 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.0139, allocations: 227.8 kB / 0.7138 GB, free: 9.035 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.01412, allocations: 322.8 kB / 0.7141 GB, free: 8.652 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.01447, allocations: 454.2 kB / 0.7146 GB, free: 8.141 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01447, allocations: 8 kB / 0.7146 GB, free: 8.133 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004962/0.01497, allocations: 0.5768 MB / 0.7151 GB, free: 7.512 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.01501, allocations: 89.05 kB / 0.7152 GB, free: 7.406 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.01501, allocations: 4.344 kB / 0.7152 GB, free: 7.402 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.01502, allocations: 8 kB / 0.7152 GB, free: 7.395 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.01519, allocations: 83.88 kB / 0.7153 GB, free: 7.312 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.0152, allocations: 4 kB / 0.7153 GB, free: 7.309 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.01531, allocations: 23.98 kB / 0.7153 GB, free: 7.285 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.01532, allocations: 16 kB / 0.7153 GB, free: 7.27 MB / 426.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.0001702/0.0155, allocations: 243.6 kB / 0.7156 GB, free: 7.012 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.01553, allocations: 35.8 kB / 0.7156 GB, free: 6.977 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.01556, allocations: 26.97 kB / 0.7156 GB, free: 6.949 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01556, allocations: 4 kB / 0.7156 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01557, allocations: 0 / 0.7156 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.01557, allocations: 3.984 kB / 0.7156 GB, free: 6.941 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006941/0.01627, allocations: 0.8212 MB / 0.7164 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01627, allocations: 0 / 0.7164 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.01642, allocations: 63.89 kB / 0.7165 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01642, allocations: 0 / 0.7165 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.01644, allocations: 12 kB / 0.7165 GB, free: 5.988 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.01644, allocations: 7.938 kB / 0.7165 GB, free: 5.98 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01644, allocations: 3.938 kB / 0.7165 GB, free: 5.977 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006155/0.01706, allocations: 0.7679 MB / 0.7173 GB, free: 5.156 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.01713, allocations: 51.78 kB / 0.7173 GB, free: 5.105 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.01717, allocations: 15.98 kB / 0.7173 GB, free: 5.09 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.01727, allocations: 19.98 kB / 0.7174 GB, free: 5.07 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.01733, allocations: 31.95 kB / 0.7174 GB, free: 5.039 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.01735, allocations: 15.94 kB / 0.7174 GB, free: 5.023 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001096/0.01746, allocations: 181.2 kB / 0.7176 GB, free: 4.848 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01746, allocations: 0 / 0.7176 GB, free: 4.848 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002212/0.01768, allocations: 92 kB / 0.7177 GB, free: 4.758 MB / 426.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 9.202e-05/0.01777, allocations: 118.9 kB / 0.7178 GB, free: 4.637 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004625/0.01823, allocations: 0.592 MB / 0.7184 GB, free: 3.977 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01824, allocations: 0 / 0.7184 GB, free: 3.977 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.01844, allocations: 310.1 kB / 0.7187 GB, free: 3.637 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.01876, allocations: 99.08 kB / 0.7188 GB, free: 3.543 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009364/0.0197, allocations: 0.8907 MB / 0.7196 GB, free: 2.609 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.109e-05/0.01979, allocations: 164.2 kB / 0.7198 GB, free: 2.426 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.01985, allocations: 32.48 kB / 0.7198 GB, free: 2.395 MB / 426.8 MB Notification: Performance of SimCode: time 4.71e-07/0.01986, allocations: 0 / 0.7198 GB, free: 2.395 MB / 426.8 MB Notification: Performance of Templates: time 0.1544/0.1743, allocations: 4.369 MB / 0.7241 GB, free: 36.43 MB / 426.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.667459330521524]