Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride_Bressolle1984_reference.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.0009399/0.0009399, allocations: 92.52 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.0009746/0.0009746, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.9313/0.9313, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.7213/0.7213, allocations: 291.1 MB / 0.5382 GB, free: 51.79 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.N05AL01_Sulpiride.Sulpiride_Bressolle1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride_Bressolle1984_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride_Bressolle1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride_Bressolle1984_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.037e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride_Bressolle1984_reference): time 0.002487/0.002507, allocations: 3.018 MB / 0.7003 GB, free: 7.363 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004077/0.006584, allocations: 6.646 MB / 0.7068 GB, free: 0.707 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.006687, allocations: 0 / 0.7068 GB, free: 0.707 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.006809, allocations: 43.58 kB / 0.7068 GB, free: 0.6641 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.006999, allocations: 127 kB / 0.7069 GB, free: 0.5391 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.0072, allocations: 91.77 kB / 0.707 GB, free: 460 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.007448, allocations: 429.8 kB / 0.7074 GB, free: 28 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.007606, allocations: 66.06 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.007801, allocations: 223.5 kB / 0.7077 GB, free: 15.75 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.007999, allocations: 123.6 kB / 0.7078 GB, free: 15.62 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.008037, allocations: 32 kB / 0.7079 GB, free: 15.59 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.498e-05/0.008072, allocations: 32 kB / 0.7079 GB, free: 15.56 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.008118, allocations: 63.7 kB / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.008222, allocations: 131.7 kB / 0.7081 GB, free: 15.37 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.008502, allocations: 359 kB / 0.7084 GB, free: 15.02 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.008504, allocations: 0 / 0.7084 GB, free: 15.02 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008505, allocations: 0 / 0.7084 GB, free: 15.02 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.00851, allocations: 0 / 0.7084 GB, free: 15.02 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.0007595/0.00927, allocations: 0.6076 MB / 0.709 GB, free: 14.36 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.009306, allocations: 8.031 kB / 0.709 GB, free: 14.36 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.009366, allocations: 44.7 kB / 0.7091 GB, free: 14.31 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.009601, allocations: 224.7 kB / 0.7093 GB, free: 14.07 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.00962, allocations: 12.88 kB / 0.7093 GB, free: 14.06 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.00966, allocations: 32.27 kB / 0.7093 GB, free: 14.03 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.01001, allocations: 302.2 kB / 0.7096 GB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.01002, allocations: 11.92 kB / 0.7096 GB, free: 13.69 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.01004, allocations: 8 kB / 0.7096 GB, free: 13.68 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.01005, allocations: 4 kB / 0.7096 GB, free: 13.68 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.01035, allocations: 252.2 kB / 0.7099 GB, free: 13.42 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000761/0.01111, allocations: 0.6465 MB / 0.7105 GB, free: 12.74 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.01152, allocations: 274 kB / 0.7108 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.01169, allocations: 160.4 kB / 0.7109 GB, free: 12.28 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.0117, allocations: 0 / 0.7109 GB, free: 12.28 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.01203, allocations: 375.4 kB / 0.7113 GB, free: 11.86 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.01203, allocations: 0 / 0.7113 GB, free: 11.86 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001303/0.01333, allocations: 1.135 MB / 0.7124 GB, free: 10.63 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.01342, allocations: 221.6 kB / 0.7126 GB, free: 10.36 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.0136, allocations: 245.9 kB / 0.7128 GB, free: 10.12 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.01363, allocations: 41.7 kB / 0.7129 GB, free: 10.07 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.01371, allocations: 156.8 kB / 0.713 GB, free: 9.91 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.01376, allocations: 111.1 kB / 0.7131 GB, free: 9.801 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/0.01384, allocations: 78.19 kB / 0.7132 GB, free: 9.719 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.01393, allocations: 342.8 kB / 0.7135 GB, free: 9.375 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.01414, allocations: 227.8 kB / 0.7137 GB, free: 9.133 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.01437, allocations: 334.8 kB / 0.7141 GB, free: 8.738 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.01476, allocations: 458.2 kB / 0.7145 GB, free: 8.223 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01476, allocations: 0 / 0.7145 GB, free: 8.223 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005208/0.01528, allocations: 0.5768 MB / 0.7151 GB, free: 7.602 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.01533, allocations: 91.33 kB / 0.7152 GB, free: 7.496 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01533, allocations: 7.984 kB / 0.7152 GB, free: 7.488 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.01535, allocations: 8 kB / 0.7152 GB, free: 7.48 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.01551, allocations: 79.83 kB / 0.7152 GB, free: 7.402 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.01552, allocations: 7.984 kB / 0.7153 GB, free: 7.395 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.01567, allocations: 23.98 kB / 0.7153 GB, free: 7.371 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.01569, allocations: 16 kB / 0.7153 GB, free: 7.355 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.000189/0.01588, allocations: 239.6 kB / 0.7155 GB, free: 7.102 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.01591, allocations: 31.81 kB / 0.7156 GB, free: 7.07 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.01595, allocations: 34.97 kB / 0.7156 GB, free: 7.035 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01595, allocations: 3.984 kB / 0.7156 GB, free: 7.031 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.01596, allocations: 4 kB / 0.7156 GB, free: 7.027 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.01596, allocations: 0 / 0.7156 GB, free: 7.027 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007297/0.01669, allocations: 0.8134 MB / 0.7164 GB, free: 6.156 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01669, allocations: 4 kB / 0.7164 GB, free: 6.152 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.01685, allocations: 55.95 kB / 0.7164 GB, free: 6.098 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01685, allocations: 0 / 0.7164 GB, free: 6.098 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.01687, allocations: 16 kB / 0.7165 GB, free: 6.082 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.01687, allocations: 4 kB / 0.7165 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01687, allocations: 0 / 0.7165 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006405/0.01751, allocations: 0.7716 MB / 0.7172 GB, free: 5.254 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.152e-05/0.0176, allocations: 55.78 kB / 0.7173 GB, free: 5.199 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.01763, allocations: 19.98 kB / 0.7173 GB, free: 5.18 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.826e-05/0.01773, allocations: 23.92 kB / 0.7173 GB, free: 5.156 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/0.01781, allocations: 23.95 kB / 0.7173 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.01782, allocations: 19.92 kB / 0.7174 GB, free: 5.113 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001145/0.01794, allocations: 185.2 kB / 0.7175 GB, free: 4.934 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01794, allocations: 0 / 0.7175 GB, free: 4.934 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000212/0.01815, allocations: 84 kB / 0.7176 GB, free: 4.852 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.0001015/0.01825, allocations: 126.9 kB / 0.7177 GB, free: 4.723 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000482/0.01873, allocations: 0.592 MB / 0.7183 GB, free: 4.062 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01873, allocations: 0 / 0.7183 GB, free: 4.062 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.01895, allocations: 310.1 kB / 0.7186 GB, free: 3.723 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.01928, allocations: 89.06 kB / 0.7187 GB, free: 3.633 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000969/0.02025, allocations: 0.8946 MB / 0.7196 GB, free: 2.695 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.652e-05/0.02034, allocations: 164.2 kB / 0.7197 GB, free: 2.512 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.02041, allocations: 36.48 kB / 0.7198 GB, free: 2.477 MB / 426.8 MB Notification: Performance of SimCode: time 7.11e-07/0.02041, allocations: 0 / 0.7198 GB, free: 2.477 MB / 426.8 MB Notification: Performance of Templates: time 0.1968/0.2173, allocations: 4.368 MB / 0.724 GB, free: 36.14 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride_Bressolle1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride_Bressolle1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride_Bressolle1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride_Bressolle1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride_Bressolle1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride_Bressolle1984_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride_Bressolle1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.827500333078206]