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.002316/0.002316, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002758/0.002758, allocations: 169.9 kB / 22.46 MB, free: 2.102 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 1.693/1.693, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.366/1.366, allocations: 292.9 MB / 0.5392 GB, free: 49.81 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.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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.6999 GB, free: 8.586 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.5e-05/5.706e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.582 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine): time 0.004709/0.004766, allocations: 3.022 MB / 0.7029 GB, free: 5.539 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.007515/0.01228, allocations: 6.643 MB / 0.7094 GB, free: 14.89 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002676/0.01255, allocations: 4 kB / 0.7094 GB, free: 14.88 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.01274, allocations: 35.58 kB / 0.7094 GB, free: 14.85 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.01314, allocations: 134.9 kB / 0.7095 GB, free: 14.71 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.01347, allocations: 87.83 kB / 0.7096 GB, free: 14.63 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005452/0.01402, allocations: 429.9 kB / 0.71 GB, free: 14.21 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.01423, allocations: 69.94 kB / 0.7101 GB, free: 14.14 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.01455, allocations: 219.5 kB / 0.7103 GB, free: 13.93 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/0.01487, allocations: 131.6 kB / 0.7104 GB, free: 13.8 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.542e-05/0.01494, allocations: 32 kB / 0.7104 GB, free: 13.77 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.438e-05/0.015, allocations: 39.94 kB / 0.7105 GB, free: 13.73 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.927e-05/0.01508, allocations: 67.69 kB / 0.7105 GB, free: 13.66 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.01526, allocations: 123.7 kB / 0.7107 GB, free: 13.54 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005194/0.01578, allocations: 359 kB / 0.711 GB, free: 13.19 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.01579, allocations: 4 kB / 0.711 GB, free: 13.18 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.914e-06/0.01579, allocations: 0 / 0.711 GB, free: 13.18 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.0158, allocations: 0 / 0.711 GB, free: 13.18 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.001279/0.01708, allocations: 0.6037 MB / 0.7116 GB, free: 12.53 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.01713, allocations: 12.03 kB / 0.7116 GB, free: 12.52 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.491e-05/0.01722, allocations: 36.7 kB / 0.7116 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.01759, allocations: 220.7 kB / 0.7119 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.01763, allocations: 24.88 kB / 0.7119 GB, free: 12.22 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.01769, allocations: 24.33 kB / 0.7119 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000623/0.01831, allocations: 310.1 kB / 0.7122 GB, free: 11.87 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.01833, allocations: 4 kB / 0.7122 GB, free: 11.86 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.01836, allocations: 8 kB / 0.7122 GB, free: 11.86 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.01837, allocations: 4 kB / 0.7122 GB, free: 11.85 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005632/0.01893, allocations: 248.2 kB / 0.7125 GB, free: 11.6 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.02018, allocations: 0.6504 MB / 0.7131 GB, free: 10.91 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007127/0.0209, allocations: 273.3 kB / 0.7133 GB, free: 10.62 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.0212, allocations: 164.4 kB / 0.7135 GB, free: 10.45 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.02122, allocations: 4 kB / 0.7135 GB, free: 10.45 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005882/0.02181, allocations: 371.5 kB / 0.7139 GB, free: 10.03 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 4.147e-06/0.02181, allocations: 3.984 kB / 0.7139 GB, free: 10.03 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002402/0.02421, allocations: 1.135 MB / 0.715 GB, free: 8.797 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/0.02439, allocations: 221.6 kB / 0.7152 GB, free: 8.531 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.02471, allocations: 249.9 kB / 0.7154 GB, free: 8.281 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.02476, allocations: 37.69 kB / 0.7155 GB, free: 8.238 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.02491, allocations: 152.9 kB / 0.7156 GB, free: 8.082 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.02504, allocations: 119.1 kB / 0.7157 GB, free: 7.965 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.02517, allocations: 74.12 kB / 0.7158 GB, free: 7.887 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0003073/0.02547, allocations: 350.7 kB / 0.7161 GB, free: 7.535 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.02586, allocations: 219.9 kB / 0.7163 GB, free: 7.301 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.02633, allocations: 322.9 kB / 0.7166 GB, free: 6.918 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/0.02705, allocations: 458.1 kB / 0.7171 GB, free: 6.402 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.02706, allocations: 4 kB / 0.7171 GB, free: 6.398 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000996/0.02805, allocations: 0.5809 MB / 0.7177 GB, free: 5.773 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-05/0.02814, allocations: 89.09 kB / 0.7177 GB, free: 5.668 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.02815, allocations: 4 kB / 0.7177 GB, free: 5.664 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.02817, allocations: 4 kB / 0.7177 GB, free: 5.66 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.02852, allocations: 83.83 kB / 0.7178 GB, free: 5.578 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.02853, allocations: 7.938 kB / 0.7178 GB, free: 5.57 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.02877, allocations: 19.98 kB / 0.7179 GB, free: 5.551 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.0288, allocations: 20 kB / 0.7179 GB, free: 5.531 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.000329/0.02913, allocations: 247.8 kB / 0.7181 GB, free: 5.27 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.02919, allocations: 31.81 kB / 0.7181 GB, free: 5.238 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.702e-05/0.02928, allocations: 30.95 kB / 0.7182 GB, free: 5.207 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.02928, allocations: 4 kB / 0.7182 GB, free: 5.203 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.02929, allocations: 0 / 0.7182 GB, free: 5.203 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.02929, allocations: 0 / 0.7182 GB, free: 5.203 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.03069, allocations: 0.8289 MB / 0.719 GB, free: 4.316 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.0307, allocations: 0 / 0.719 GB, free: 4.316 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.03101, allocations: 59.91 kB / 0.719 GB, free: 4.258 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.03101, allocations: 0 / 0.719 GB, free: 4.258 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.03105, allocations: 11.98 kB / 0.719 GB, free: 4.246 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.03105, allocations: 4 kB / 0.7191 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.03105, allocations: 0 / 0.7191 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.03233, allocations: 0.7679 MB / 0.7198 GB, free: 3.422 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.03245, allocations: 51.77 kB / 0.7199 GB, free: 3.371 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/0.03252, allocations: 16 kB / 0.7199 GB, free: 3.355 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.03273, allocations: 15.98 kB / 0.7199 GB, free: 3.34 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.03284, allocations: 31.95 kB / 0.7199 GB, free: 3.309 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.03287, allocations: 15.92 kB / 0.7199 GB, free: 3.293 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002094/0.03308, allocations: 185.2 kB / 0.7201 GB, free: 3.113 MB / 426.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03308, allocations: 0 / 0.7201 GB, free: 3.113 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.2507/0.2838, allocations: 88.14 kB / 0.7202 GB, free: 37.19 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 0.0001889/0.284, allocations: 124.4 kB / 0.7203 GB, free: 37.1 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008969/0.2849, allocations: 0.5845 MB / 0.7209 GB, free: 36.76 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2849, allocations: 3.562 kB / 0.7209 GB, free: 36.76 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.2852, allocations: 315.3 kB / 0.7212 GB, free: 36.57 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.2858, allocations: 87.03 kB / 0.7213 GB, free: 36.57 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.2873, allocations: 0.8589 MB / 0.7221 GB, free: 36.14 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.2874, allocations: 167.4 kB / 0.7223 GB, free: 36.05 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.2876, allocations: 33.95 kB / 0.7223 GB, free: 36.05 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.2877, allocations: 31.62 kB / 0.7223 GB, free: 36.04 MB / 426.8 MB Notification: Performance of SimCode: time 7.11e-07/0.2877, allocations: 8.875 kB / 0.7223 GB, free: 36.04 MB / 426.8 MB Notification: Performance of Templates: time 0.01162/0.2993, allocations: 4.823 MB / 0.727 GB, free: 35.59 MB / 426.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.176840384956449]