Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.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.001141/0.001141, 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.001569/0.001569, allocations: 165.9 kB / 23.21 MB, free: 1.328 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.9419/0.9419, allocations: 177.1 MB / 203.5 MB, free: 5.695 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.6942/0.6942, allocations: 291.2 MB / 0.5382 GB, free: 51.81 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.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.6974 GB, free: 10.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.114e-05, allocations: 6.281 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine): time 0.00246/0.002481, allocations: 3.013 MB / 0.7003 GB, free: 7.309 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00379/0.006271, allocations: 6.646 MB / 0.7068 GB, free: 0.6523 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.006384, allocations: 0 / 0.7068 GB, free: 0.6523 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.006504, allocations: 39.62 kB / 0.7068 GB, free: 0.6133 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.006694, allocations: 134.8 kB / 0.707 GB, free: 492 kB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.00689, allocations: 87.83 kB / 0.7071 GB, free: 404 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.00714, allocations: 429.9 kB / 0.7075 GB, free: 15.97 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.007295, allocations: 66.06 kB / 0.7075 GB, free: 15.91 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.007482, allocations: 227.4 kB / 0.7077 GB, free: 15.69 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.007688, allocations: 123.6 kB / 0.7079 GB, free: 15.57 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.007725, allocations: 36 kB / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.352e-05/0.007759, allocations: 32 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.007807, allocations: 67.69 kB / 0.708 GB, free: 15.43 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.394e-05/0.007901, allocations: 123.7 kB / 0.7081 GB, free: 15.31 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.008168, allocations: 359.1 kB / 0.7084 GB, free: 14.96 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00817, allocations: 0 / 0.7084 GB, free: 14.96 MB / 426.8 MB Notification: Performance of FrontEnd: time 7.62e-07/0.008171, allocations: 0 / 0.7084 GB, free: 14.96 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.008175, allocations: 3.938 kB / 0.7085 GB, free: 14.96 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.0007136/0.008889, allocations: 0.6037 MB / 0.709 GB, free: 14.3 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.008925, allocations: 8.031 kB / 0.709 GB, free: 14.3 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.008982, allocations: 40.69 kB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.009206, allocations: 228.7 kB / 0.7093 GB, free: 14.01 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.009225, allocations: 12.88 kB / 0.7093 GB, free: 14 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.00926, allocations: 28.33 kB / 0.7093 GB, free: 13.97 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.009609, allocations: 302.2 kB / 0.7096 GB, free: 13.65 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.009626, allocations: 4 kB / 0.7096 GB, free: 13.64 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.009644, allocations: 8 kB / 0.7096 GB, free: 13.64 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.00965, allocations: 8 kB / 0.7097 GB, free: 13.63 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.009939, allocations: 256.2 kB / 0.7099 GB, free: 13.37 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/0.01067, allocations: 0.6466 MB / 0.7105 GB, free: 12.68 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.01107, allocations: 274 kB / 0.7108 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.01123, allocations: 160.5 kB / 0.7109 GB, free: 12.22 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.01124, allocations: 7.922 kB / 0.711 GB, free: 12.21 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003001/0.01154, allocations: 367.5 kB / 0.7113 GB, free: 11.8 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.01154, allocations: 0 / 0.7113 GB, free: 11.8 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001283/0.01282, allocations: 1.139 MB / 0.7124 GB, free: 10.57 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.0129, allocations: 217.6 kB / 0.7126 GB, free: 10.31 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.01307, allocations: 257.8 kB / 0.7129 GB, free: 10.05 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.01309, allocations: 33.7 kB / 0.7129 GB, free: 10.01 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.01317, allocations: 152.9 kB / 0.713 GB, free: 9.855 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.01323, allocations: 119 kB / 0.7132 GB, free: 9.738 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.0133, allocations: 74.19 kB / 0.7132 GB, free: 9.66 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.01338, allocations: 342.8 kB / 0.7136 GB, free: 9.316 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.01358, allocations: 227.8 kB / 0.7138 GB, free: 9.074 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.01382, allocations: 322.9 kB / 0.7141 GB, free: 8.691 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.01418, allocations: 458.1 kB / 0.7145 GB, free: 8.176 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01418, allocations: 0 / 0.7145 GB, free: 8.176 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005252/0.01471, allocations: 0.5809 MB / 0.7151 GB, free: 7.551 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.01475, allocations: 93.09 kB / 0.7152 GB, free: 7.441 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.01476, allocations: 4 kB / 0.7152 GB, free: 7.438 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.01477, allocations: 4 kB / 0.7152 GB, free: 7.434 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.01494, allocations: 79.89 kB / 0.7153 GB, free: 7.355 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.01495, allocations: 11.92 kB / 0.7153 GB, free: 7.344 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.01506, allocations: 19.98 kB / 0.7153 GB, free: 7.324 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.01508, allocations: 16.12 kB / 0.7153 GB, free: 7.309 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.0001835/0.01526, allocations: 247.7 kB / 0.7155 GB, free: 7.047 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.01529, allocations: 31.81 kB / 0.7156 GB, free: 7.016 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.01533, allocations: 34.95 kB / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01534, allocations: 4 kB / 0.7156 GB, free: 6.977 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01534, allocations: 0 / 0.7156 GB, free: 6.977 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01535, allocations: 3.984 kB / 0.7156 GB, free: 6.973 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007061/0.01605, allocations: 0.8134 MB / 0.7164 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.01606, allocations: 4 kB / 0.7164 GB, free: 6.098 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.01621, allocations: 55.91 kB / 0.7165 GB, free: 6.043 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01622, allocations: 3.984 kB / 0.7165 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.01623, allocations: 12 kB / 0.7165 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01624, allocations: 0 / 0.7165 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01624, allocations: 3.938 kB / 0.7165 GB, free: 6.023 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/0.01688, allocations: 0.7756 MB / 0.7172 GB, free: 5.195 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.01696, allocations: 51.78 kB / 0.7173 GB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.01699, allocations: 12 kB / 0.7173 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.01709, allocations: 23.97 kB / 0.7173 GB, free: 5.109 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.01717, allocations: 27.95 kB / 0.7173 GB, free: 5.082 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.01718, allocations: 11.94 kB / 0.7174 GB, free: 5.07 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001114/0.01729, allocations: 193.1 kB / 0.7175 GB, free: 4.883 MB / 426.8 MB Notification: Performance of sort global known variables: time 4e-08/0.01729, allocations: 0 / 0.7175 GB, free: 4.883 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002146/0.01751, allocations: 84 kB / 0.7176 GB, free: 4.801 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.0001023/0.01761, allocations: 126.5 kB / 0.7177 GB, free: 4.672 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004932/0.0181, allocations: 0.5843 MB / 0.7183 GB, free: 4.02 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.0181, allocations: 0 / 0.7183 GB, free: 4.02 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.01832, allocations: 322.8 kB / 0.7186 GB, free: 3.668 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.01867, allocations: 100.2 kB / 0.7187 GB, free: 3.57 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009793/0.01964, allocations: 0.8929 MB / 0.7196 GB, free: 2.637 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.502e-05/0.01974, allocations: 164.2 kB / 0.7197 GB, free: 2.453 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.0198, allocations: 32.5 kB / 0.7198 GB, free: 2.422 MB / 426.8 MB Notification: Performance of SimCode: time 6.62e-07/0.0198, allocations: 0 / 0.7198 GB, free: 2.422 MB / 426.8 MB Notification: Performance of Templates: time 0.1806/0.2004, allocations: 4.372 MB / 0.724 GB, free: 36.12 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.716610490344465]