Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.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.002093/0.002093, 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.002118/0.002118, 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.81/1.81, 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.319/1.319, 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.N05AL01_Sulpiride.Sulpiride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.59e-05/3.828e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.531 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride): time 0.005445/0.005484, allocations: 3.018 MB / 0.7029 GB, free: 5.492 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.008978/0.01446, allocations: 6.643 MB / 0.7093 GB, free: 14.84 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003709/0.01483, allocations: 4 kB / 0.7094 GB, free: 14.84 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.01508, allocations: 43.58 kB / 0.7094 GB, free: 14.79 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005399/0.01562, allocations: 130.9 kB / 0.7095 GB, free: 14.66 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.01606, allocations: 87.83 kB / 0.7096 GB, free: 14.58 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0008048/0.01687, allocations: 429.8 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.01714, allocations: 65.36 kB / 0.7101 GB, free: 14.09 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004814/0.01762, allocations: 231.4 kB / 0.7103 GB, free: 13.87 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003955/0.01801, allocations: 119.6 kB / 0.7104 GB, free: 13.75 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 8.992e-05/0.0181, allocations: 32 kB / 0.7104 GB, free: 13.72 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.01821, allocations: 32 kB / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.01833, allocations: 71.67 kB / 0.7105 GB, free: 13.62 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.0186, allocations: 123.7 kB / 0.7107 GB, free: 13.5 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0007039/0.0193, allocations: 366.9 kB / 0.711 GB, free: 13.14 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01931, allocations: 0 / 0.711 GB, free: 13.14 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.224e-06/0.01931, allocations: 0 / 0.711 GB, free: 13.14 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.01932, allocations: 3.984 kB / 0.711 GB, free: 13.13 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.001781/0.0211, allocations: 0.5959 MB / 0.7116 GB, free: 12.49 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.02115, allocations: 15.89 kB / 0.7116 GB, free: 12.47 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.0213, allocations: 48.69 kB / 0.7117 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.02184, allocations: 224.7 kB / 0.7119 GB, free: 12.18 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.02188, allocations: 12.88 kB / 0.7119 GB, free: 12.17 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-05/0.02197, allocations: 28.33 kB / 0.7119 GB, free: 12.14 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000927/0.02289, allocations: 314.1 kB / 0.7122 GB, free: 11.81 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.02292, allocations: 0 / 0.7122 GB, free: 11.81 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.02298, allocations: 12 kB / 0.7122 GB, free: 11.8 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.02299, allocations: 4 kB / 0.7122 GB, free: 11.79 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008997/0.02389, allocations: 248.2 kB / 0.7125 GB, free: 11.54 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.02578, allocations: 0.6504 MB / 0.7131 GB, free: 10.85 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.02688, allocations: 274.6 kB / 0.7134 GB, free: 10.56 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.02737, allocations: 156.4 kB / 0.7135 GB, free: 10.39 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.0274, allocations: 4 kB / 0.7135 GB, free: 10.39 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008736/0.02827, allocations: 367.5 kB / 0.7139 GB, free: 9.98 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.02827, allocations: 0 / 0.7139 GB, free: 9.98 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.003673/0.03194, allocations: 1.127 MB / 0.715 GB, free: 8.758 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002404/0.03218, allocations: 225.6 kB / 0.7152 GB, free: 8.488 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004996/0.03268, allocations: 253.8 kB / 0.7154 GB, free: 8.234 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.03275, allocations: 37.7 kB / 0.7155 GB, free: 8.191 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.03298, allocations: 156.9 kB / 0.7156 GB, free: 8.031 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.03316, allocations: 115 kB / 0.7157 GB, free: 7.918 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.03337, allocations: 78.19 kB / 0.7158 GB, free: 7.836 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002823/0.03366, allocations: 342.7 kB / 0.7161 GB, free: 7.492 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/0.03426, allocations: 219.9 kB / 0.7163 GB, free: 7.258 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/0.03498, allocations: 326.9 kB / 0.7166 GB, free: 6.871 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.03615, allocations: 462.1 kB / 0.7171 GB, free: 6.352 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.03615, allocations: 0 / 0.7171 GB, free: 6.352 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00159/0.03774, allocations: 0.5768 MB / 0.7176 GB, free: 5.73 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.03787, allocations: 93.44 kB / 0.7177 GB, free: 5.621 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.03788, allocations: 4 kB / 0.7177 GB, free: 5.617 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.668e-05/0.03792, allocations: 8 kB / 0.7177 GB, free: 5.609 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.03847, allocations: 75.89 kB / 0.7178 GB, free: 5.535 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.03849, allocations: 7.938 kB / 0.7178 GB, free: 5.527 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004449/0.03894, allocations: 23.98 kB / 0.7178 GB, free: 5.504 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/0.03899, allocations: 19.94 kB / 0.7179 GB, free: 5.484 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.0005353/0.03953, allocations: 247.6 kB / 0.7181 GB, free: 5.223 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.03964, allocations: 35.8 kB / 0.7181 GB, free: 5.188 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.03977, allocations: 38.95 kB / 0.7182 GB, free: 5.148 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.03978, allocations: 0 / 0.7182 GB, free: 5.148 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.03979, allocations: 0 / 0.7182 GB, free: 5.148 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.03979, allocations: 4 kB / 0.7182 GB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.04206, allocations: 0.8172 MB / 0.719 GB, free: 4.27 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.04206, allocations: 0 / 0.719 GB, free: 4.27 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000506/0.04257, allocations: 59.91 kB / 0.719 GB, free: 4.211 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.04257, allocations: 0 / 0.719 GB, free: 4.211 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-05/0.04263, allocations: 19.98 kB / 0.719 GB, free: 4.191 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.04263, allocations: 0 / 0.719 GB, free: 4.191 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.04263, allocations: 0 / 0.719 GB, free: 4.191 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.04465, allocations: 0.7639 MB / 0.7198 GB, free: 3.375 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.04486, allocations: 55.77 kB / 0.7198 GB, free: 3.32 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.04496, allocations: 20 kB / 0.7199 GB, free: 3.301 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.04532, allocations: 15.98 kB / 0.7199 GB, free: 3.285 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.04548, allocations: 27.95 kB / 0.7199 GB, free: 3.258 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.04552, allocations: 19.92 kB / 0.7199 GB, free: 3.238 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000338/0.04586, allocations: 189.2 kB / 0.7201 GB, free: 3.055 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.04586, allocations: 0 / 0.7201 GB, free: 3.055 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.275/0.3209, allocations: 81.58 kB / 0.7202 GB, free: 37.09 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.0002703/0.3211, allocations: 120.5 kB / 0.7203 GB, free: 37 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.3224, allocations: 0.5879 MB / 0.7209 GB, free: 36.66 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3224, allocations: 0 / 0.7209 GB, free: 36.66 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.3229, allocations: 318.2 kB / 0.7212 GB, free: 36.47 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009107/0.3238, allocations: 90.3 kB / 0.7213 GB, free: 36.47 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.326, allocations: 0.8616 MB / 0.7221 GB, free: 36.04 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.3262, allocations: 167.2 kB / 0.7223 GB, free: 35.95 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.000281/0.3265, allocations: 34.47 kB / 0.7223 GB, free: 35.95 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.3266, allocations: 28.84 kB / 0.7223 GB, free: 35.94 MB / 426.8 MB Notification: Performance of SimCode: time 1.042e-06/0.3266, allocations: 0 / 0.7223 GB, free: 35.94 MB / 426.8 MB Notification: Performance of Templates: time 0.01748/0.3441, allocations: 4.832 MB / 0.727 GB, free: 35.48 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.09836884890683]