Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine.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.002486/0.002486, 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.003181/0.003181, allocations: 170.3 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.635/1.635, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.375/1.375, allocations: 293 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.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.6999 GB, free: 8.59 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.234e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.586 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine): time 0.003408/0.00344, allocations: 3.022 MB / 0.7029 GB, free: 5.543 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006364/0.009804, allocations: 6.635 MB / 0.7094 GB, free: 14.9 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002962/0.0101, allocations: 8 kB / 0.7094 GB, free: 14.89 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.01028, allocations: 39.56 kB / 0.7094 GB, free: 14.85 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.01067, allocations: 130.9 kB / 0.7095 GB, free: 14.72 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.011, allocations: 79.86 kB / 0.7096 GB, free: 14.64 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006222/0.01163, allocations: 437.8 kB / 0.71 GB, free: 14.21 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.01188, allocations: 65.95 kB / 0.7101 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003609/0.01224, allocations: 219.5 kB / 0.7103 GB, free: 13.94 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.01256, allocations: 131.6 kB / 0.7104 GB, free: 13.81 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.15e-05/0.01262, allocations: 32 kB / 0.7105 GB, free: 13.78 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.93e-05/0.01268, allocations: 35.94 kB / 0.7105 GB, free: 13.74 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 8.595e-05/0.01277, allocations: 67.69 kB / 0.7106 GB, free: 13.68 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.01295, allocations: 123.7 kB / 0.7107 GB, free: 13.55 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004894/0.01343, allocations: 359 kB / 0.711 GB, free: 13.2 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.01344, allocations: 4 kB / 0.711 GB, free: 13.2 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01344, allocations: 0 / 0.711 GB, free: 13.2 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.01345, allocations: 0 / 0.711 GB, free: 13.2 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.001336/0.01479, allocations: 0.6076 MB / 0.7116 GB, free: 12.54 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.01484, allocations: 12.03 kB / 0.7116 GB, free: 12.53 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.92e-05/0.01494, allocations: 40.7 kB / 0.7117 GB, free: 12.49 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.01532, allocations: 220.7 kB / 0.7119 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.01536, allocations: 16.88 kB / 0.7119 GB, free: 12.24 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/0.01542, allocations: 32.31 kB / 0.7119 GB, free: 12.21 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006128/0.01603, allocations: 306.2 kB / 0.7122 GB, free: 11.88 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.01605, allocations: 7.984 kB / 0.7122 GB, free: 11.87 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.01608, allocations: 12 kB / 0.7122 GB, free: 11.86 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.01609, allocations: 4 kB / 0.7122 GB, free: 11.86 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005524/0.01664, allocations: 244.2 kB / 0.7125 GB, free: 11.61 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.01784, allocations: 0.6465 MB / 0.7131 GB, free: 10.92 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006931/0.01853, allocations: 274.8 kB / 0.7134 GB, free: 10.63 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.01883, allocations: 160.4 kB / 0.7135 GB, free: 10.46 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.01885, allocations: 7.938 kB / 0.7135 GB, free: 10.45 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000604/0.01946, allocations: 367.5 kB / 0.7139 GB, free: 10.04 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.01946, allocations: 0 / 0.7139 GB, free: 10.04 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.00238/0.02184, allocations: 1.135 MB / 0.715 GB, free: 8.812 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.02201, allocations: 221.6 kB / 0.7152 GB, free: 8.547 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.02232, allocations: 253.8 kB / 0.7154 GB, free: 8.293 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.02237, allocations: 37.7 kB / 0.7155 GB, free: 8.25 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.02251, allocations: 152.9 kB / 0.7156 GB, free: 8.094 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.02263, allocations: 119 kB / 0.7157 GB, free: 7.977 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.02276, allocations: 74.2 kB / 0.7158 GB, free: 7.898 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.02296, allocations: 346.7 kB / 0.7161 GB, free: 7.551 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.02336, allocations: 223.8 kB / 0.7164 GB, free: 7.312 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.02386, allocations: 322.9 kB / 0.7167 GB, free: 6.93 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007758/0.02464, allocations: 458.1 kB / 0.7171 GB, free: 6.414 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.02464, allocations: 4 kB / 0.7171 GB, free: 6.41 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001047/0.02569, allocations: 0.5768 MB / 0.7177 GB, free: 5.789 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.748e-05/0.02578, allocations: 93.09 kB / 0.7178 GB, free: 5.68 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.02579, allocations: 4 kB / 0.7178 GB, free: 5.676 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.02581, allocations: 4 kB / 0.7178 GB, free: 5.672 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.02614, allocations: 83.83 kB / 0.7178 GB, free: 5.59 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.02615, allocations: 4.344 kB / 0.7178 GB, free: 5.586 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.0264, allocations: 23.98 kB / 0.7179 GB, free: 5.562 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.02644, allocations: 23.98 kB / 0.7179 GB, free: 5.539 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.0002971/0.02673, allocations: 242.7 kB / 0.7181 GB, free: 5.285 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.0268, allocations: 31.81 kB / 0.7182 GB, free: 5.254 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.897e-05/0.02688, allocations: 34.95 kB / 0.7182 GB, free: 5.219 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.02688, allocations: 4 kB / 0.7182 GB, free: 5.215 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.02689, allocations: 4 kB / 0.7182 GB, free: 5.211 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.02689, allocations: 0 / 0.7182 GB, free: 5.211 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.02829, allocations: 0.8289 MB / 0.719 GB, free: 4.324 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.02829, allocations: 0 / 0.719 GB, free: 4.324 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.02861, allocations: 59.91 kB / 0.7191 GB, free: 4.266 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.02861, allocations: 0 / 0.7191 GB, free: 4.266 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.02864, allocations: 11.98 kB / 0.7191 GB, free: 4.254 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.02865, allocations: 4 kB / 0.7191 GB, free: 4.25 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02865, allocations: 4 kB / 0.7191 GB, free: 4.246 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.02996, allocations: 0.7601 MB / 0.7198 GB, free: 3.434 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.0301, allocations: 55.77 kB / 0.7199 GB, free: 3.379 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.86e-05/0.03017, allocations: 16 kB / 0.7199 GB, free: 3.363 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.0304, allocations: 15.98 kB / 0.7199 GB, free: 3.348 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.0305, allocations: 31.94 kB / 0.7199 GB, free: 3.316 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.03054, allocations: 15.94 kB / 0.72 GB, free: 3.301 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000218/0.03075, allocations: 185.2 kB / 0.7201 GB, free: 3.121 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.03075, allocations: 0 / 0.7201 GB, free: 3.121 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.201/0.2318, allocations: 84.8 kB / 0.7202 GB, free: 37.21 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.0001898/0.2319, allocations: 128.4 kB / 0.7203 GB, free: 37.12 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009118/0.2329, allocations: 0.5817 MB / 0.7209 GB, free: 36.78 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2329, allocations: 0 / 0.7209 GB, free: 36.78 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.2332, allocations: 320.1 kB / 0.7212 GB, free: 36.59 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.2338, allocations: 87.39 kB / 0.7213 GB, free: 36.59 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.2354, allocations: 0.8604 MB / 0.7221 GB, free: 36.16 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.2355, allocations: 166.7 kB / 0.7223 GB, free: 36.07 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.2357, allocations: 37.14 kB / 0.7223 GB, free: 36.06 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.358e-05/0.2358, allocations: 33.02 kB / 0.7224 GB, free: 36.05 MB / 426.8 MB Notification: Performance of SimCode: time 9.72e-07/0.2358, allocations: 2.438 kB / 0.7224 GB, free: 36.05 MB / 426.8 MB Notification: Performance of Templates: time 0.01159/0.2474, allocations: 4.83 MB / 0.7271 GB, free: 35.6 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.245013169012964]