Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.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.002277/0.002277, 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.002963/0.002963, 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.754/1.754, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.338/1.338, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6999 GB, free: 8.504 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/2.971e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.5 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam): time 0.003119/0.003149, allocations: 2.709 MB / 0.7026 GB, free: 5.77 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006162/0.009311, allocations: 6.608 MB / 0.709 GB, free: 15.15 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.009552, allocations: 4 kB / 0.709 GB, free: 15.15 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.009741, allocations: 43.56 kB / 0.7091 GB, free: 15.11 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.0101, allocations: 130.9 kB / 0.7092 GB, free: 14.98 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.01039, allocations: 71.84 kB / 0.7093 GB, free: 14.91 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.000515/0.0109, allocations: 389.9 kB / 0.7096 GB, free: 14.52 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.01108, allocations: 60.81 kB / 0.7097 GB, free: 14.47 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002986/0.01138, allocations: 203.6 kB / 0.7099 GB, free: 14.27 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.01168, allocations: 119.6 kB / 0.71 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.01173, allocations: 27.94 kB / 0.71 GB, free: 14.12 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.509e-05/0.01179, allocations: 24 kB / 0.7101 GB, free: 14.1 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.01186, allocations: 59.7 kB / 0.7101 GB, free: 14.04 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.01202, allocations: 115.8 kB / 0.7102 GB, free: 13.93 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.01245, allocations: 291.1 kB / 0.7105 GB, free: 13.64 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.01246, allocations: 0 / 0.7105 GB, free: 13.64 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01246, allocations: 0 / 0.7105 GB, free: 13.64 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.01247, allocations: 0 / 0.7105 GB, free: 13.64 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001511/0.01398, allocations: 0.5963 MB / 0.7111 GB, free: 13 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.01403, allocations: 20.02 kB / 0.7111 GB, free: 12.98 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.978e-05/0.01412, allocations: 32.75 kB / 0.7111 GB, free: 12.95 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.01446, allocations: 212.7 kB / 0.7113 GB, free: 12.71 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.01449, allocations: 12.75 kB / 0.7113 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.01454, allocations: 24.38 kB / 0.7114 GB, free: 12.68 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.01511, allocations: 296.5 kB / 0.7117 GB, free: 12.37 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.01513, allocations: 3.953 kB / 0.7117 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.01515, allocations: 8 kB / 0.7117 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.01516, allocations: 4 kB / 0.7117 GB, free: 12.35 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.0157, allocations: 236.4 kB / 0.7119 GB, free: 12.11 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.01705, allocations: 0.6717 MB / 0.7125 GB, free: 11.39 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.01769, allocations: 242.7 kB / 0.7128 GB, free: 11.13 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.01798, allocations: 156.4 kB / 0.7129 GB, free: 10.96 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.018, allocations: 0 / 0.7129 GB, free: 10.96 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005757/0.01857, allocations: 361.5 kB / 0.7133 GB, free: 10.56 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.01857, allocations: 0 / 0.7133 GB, free: 10.56 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002292/0.02087, allocations: 1.079 MB / 0.7143 GB, free: 9.395 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001766/0.02104, allocations: 221.6 kB / 0.7145 GB, free: 9.129 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.02136, allocations: 241.9 kB / 0.7148 GB, free: 8.887 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.02141, allocations: 37.7 kB / 0.7148 GB, free: 8.844 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.02156, allocations: 160.8 kB / 0.715 GB, free: 8.68 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.02167, allocations: 107.1 kB / 0.7151 GB, free: 8.574 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.0218, allocations: 74.19 kB / 0.7151 GB, free: 8.492 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.022, allocations: 342.8 kB / 0.7155 GB, free: 8.148 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.02238, allocations: 215.9 kB / 0.7157 GB, free: 7.918 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.02282, allocations: 315.1 kB / 0.716 GB, free: 7.551 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/0.02351, allocations: 427.1 kB / 0.7164 GB, free: 7.066 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.02351, allocations: 4 kB / 0.7164 GB, free: 7.062 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009433/0.02446, allocations: 0.5499 MB / 0.7169 GB, free: 6.469 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.595e-05/0.02454, allocations: 92.38 kB / 0.717 GB, free: 6.363 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.02455, allocations: 4 kB / 0.717 GB, free: 6.359 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.02458, allocations: 7.984 kB / 0.717 GB, free: 6.352 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.0249, allocations: 79.83 kB / 0.7171 GB, free: 6.273 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.02491, allocations: 11.94 kB / 0.7171 GB, free: 6.262 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.02516, allocations: 23.98 kB / 0.7171 GB, free: 6.238 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.0252, allocations: 15.98 kB / 0.7171 GB, free: 6.223 MB / 426.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.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 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0002956/0.0255, allocations: 232.4 kB / 0.7174 GB, free: 5.973 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.02556, allocations: 35.81 kB / 0.7174 GB, free: 5.938 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.428e-05/0.02563, allocations: 30.95 kB / 0.7174 GB, free: 5.906 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.02564, allocations: 4 kB / 0.7174 GB, free: 5.902 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.02564, allocations: 0 / 0.7174 GB, free: 5.902 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.02565, allocations: 0 / 0.7174 GB, free: 5.902 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.02737, allocations: 0.7755 MB / 0.7182 GB, free: 5.066 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.02738, allocations: 0 / 0.7182 GB, free: 5.066 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.02767, allocations: 47.97 kB / 0.7182 GB, free: 5.02 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.02768, allocations: 0 / 0.7182 GB, free: 5.02 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.02771, allocations: 11.98 kB / 0.7182 GB, free: 5.008 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.02771, allocations: 4 kB / 0.7182 GB, free: 5.004 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.02772, allocations: 3.938 kB / 0.7182 GB, free: 5 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.02897, allocations: 0.723 MB / 0.719 GB, free: 4.219 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.02902, allocations: 27.8 kB / 0.719 GB, free: 4.191 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/0.0291, allocations: 16.06 kB / 0.719 GB, free: 4.176 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.02932, allocations: 15.98 kB / 0.719 GB, free: 4.16 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.02943, allocations: 31.89 kB / 0.719 GB, free: 4.129 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.02945, allocations: 11.98 kB / 0.7191 GB, free: 4.117 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002172/0.02967, allocations: 177.2 kB / 0.7192 GB, free: 3.945 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.02967, allocations: 0 / 0.7192 GB, free: 3.945 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0004247/0.0301, allocations: 88 kB / 0.7193 GB, free: 3.859 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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.000217/0.03031, allocations: 122.9 kB / 0.7194 GB, free: 3.734 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.03133, allocations: 0.5648 MB / 0.72 GB, free: 3.102 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.03133, allocations: 0 / 0.72 GB, free: 3.102 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.197/0.2284, allocations: 297.9 kB / 0.7203 GB, free: 37.13 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007288/0.2291, allocations: 85.39 kB / 0.7203 GB, free: 37.13 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.2305, allocations: 0.8035 MB / 0.7211 GB, free: 36.73 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.2307, allocations: 155 kB / 0.7213 GB, free: 36.65 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.2308, allocations: 36.02 kB / 0.7213 GB, free: 36.64 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/0.2309, allocations: 31.86 kB / 0.7213 GB, free: 36.63 MB / 426.8 MB Notification: Performance of SimCode: time 1.343e-06/0.2309, allocations: 0 / 0.7213 GB, free: 36.63 MB / 426.8 MB Notification: Performance of Templates: time 0.01044/0.2414, allocations: 4.545 MB / 0.7258 GB, free: 36.22 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.073657468194142]