Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_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.001264/0.001264, allocations: 92.42 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.001355/0.001355, allocations: 169.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 1.033/1.033, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.6862/0.6862, allocations: 291.1 MB / 0.5382 GB, free: 51.82 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.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 4 kB / 0.6973 GB, free: 10.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.915e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference): time 0.002171/0.00219, allocations: 2.693 MB / 0.7 GB, free: 7.648 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004533/0.006723, allocations: 6.611 MB / 0.7064 GB, free: 1.027 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.006896, allocations: 4 kB / 0.7064 GB, free: 1.023 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.007054, allocations: 39.58 kB / 0.7065 GB, free: 0.9844 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.007288, allocations: 123 kB / 0.7066 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.007502, allocations: 83.7 kB / 0.7067 GB, free: 0.7812 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.007742, allocations: 385.9 kB / 0.707 GB, free: 412 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.007883, allocations: 60.88 kB / 0.7071 GB, free: 356 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.008028, allocations: 199.5 kB / 0.7073 GB, free: 156 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.008223, allocations: 119.6 kB / 0.7074 GB, free: 36 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.008254, allocations: 28 kB / 0.7074 GB, free: 8 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.453e-05/0.008299, allocations: 28.05 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.008341, allocations: 59.64 kB / 0.7075 GB, free: 15.92 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.469e-05/0.008436, allocations: 111.8 kB / 0.7076 GB, free: 15.81 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.008689, allocations: 291.1 kB / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.008692, allocations: 0 / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.763e-06/0.008693, allocations: 0 / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.008698, allocations: 0 / 0.7079 GB, free: 15.53 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.0007677/0.009466, allocations: 0.5925 MB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.009506, allocations: 15.97 kB / 0.7085 GB, free: 14.87 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.009566, allocations: 32.75 kB / 0.7085 GB, free: 14.84 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.009793, allocations: 212.7 kB / 0.7087 GB, free: 14.61 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.009814, allocations: 16.75 kB / 0.7087 GB, free: 14.59 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.009851, allocations: 24.36 kB / 0.7088 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.01019, allocations: 292.7 kB / 0.709 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.01021, allocations: 3.953 kB / 0.709 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.01023, allocations: 12 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.01023, allocations: 8 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.01051, allocations: 232.4 kB / 0.7093 GB, free: 13.99 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007909/0.0113, allocations: 0.664 MB / 0.7099 GB, free: 13.29 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.01171, allocations: 250 kB / 0.7102 GB, free: 13.02 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.01186, allocations: 148.4 kB / 0.7103 GB, free: 12.86 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.01187, allocations: 0 / 0.7103 GB, free: 12.86 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003529/0.01222, allocations: 372.8 kB / 0.7107 GB, free: 12.45 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.053e-06/0.01223, allocations: 3.938 kB / 0.7107 GB, free: 12.45 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001266/0.01349, allocations: 1.078 MB / 0.7117 GB, free: 11.28 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.076e-05/0.01358, allocations: 221.6 kB / 0.7119 GB, free: 11.01 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.01376, allocations: 241.9 kB / 0.7122 GB, free: 10.77 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.01378, allocations: 37.7 kB / 0.7122 GB, free: 10.73 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.01386, allocations: 160.8 kB / 0.7124 GB, free: 10.56 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.01392, allocations: 115.1 kB / 0.7125 GB, free: 10.45 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/0.014, allocations: 78.19 kB / 0.7125 GB, free: 10.36 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.01411, allocations: 342.8 kB / 0.7129 GB, free: 10.02 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.01434, allocations: 207.9 kB / 0.7131 GB, free: 9.797 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.01456, allocations: 315.1 kB / 0.7134 GB, free: 9.43 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.01492, allocations: 431.1 kB / 0.7138 GB, free: 8.941 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01492, allocations: 0 / 0.7138 GB, free: 8.941 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005156/0.01544, allocations: 0.5497 MB / 0.7143 GB, free: 8.348 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/0.01549, allocations: 93.09 kB / 0.7144 GB, free: 8.238 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.0155, allocations: 4 kB / 0.7144 GB, free: 8.234 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.01552, allocations: 7.984 kB / 0.7144 GB, free: 8.227 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.01569, allocations: 79.83 kB / 0.7145 GB, free: 8.148 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.0157, allocations: 4.344 kB / 0.7145 GB, free: 8.145 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01581, allocations: 27.98 kB / 0.7145 GB, free: 8.117 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.01583, allocations: 16 kB / 0.7145 GB, free: 8.102 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.0001868/0.01601, allocations: 225.1 kB / 0.7148 GB, free: 7.859 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.01604, allocations: 31.81 kB / 0.7148 GB, free: 7.828 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.01608, allocations: 30.95 kB / 0.7148 GB, free: 7.797 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01608, allocations: 4 kB / 0.7148 GB, free: 7.793 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01609, allocations: 0 / 0.7148 GB, free: 7.793 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01609, allocations: 4 kB / 0.7148 GB, free: 7.789 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007017/0.01679, allocations: 0.7677 MB / 0.7156 GB, free: 6.961 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.0168, allocations: 0 / 0.7156 GB, free: 6.961 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.01695, allocations: 55.95 kB / 0.7156 GB, free: 6.906 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01695, allocations: 0 / 0.7156 GB, free: 6.906 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.01697, allocations: 8 kB / 0.7156 GB, free: 6.898 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01698, allocations: 4 kB / 0.7156 GB, free: 6.895 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.01698, allocations: 7.922 kB / 0.7156 GB, free: 6.887 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008399/0.01782, allocations: 0.7269 MB / 0.7164 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.01786, allocations: 27.88 kB / 0.7164 GB, free: 6.074 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.01792, allocations: 15.98 kB / 0.7164 GB, free: 6.059 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.01806, allocations: 15.98 kB / 0.7164 GB, free: 6.043 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-05/0.01815, allocations: 31.89 kB / 0.7164 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.01817, allocations: 12 kB / 0.7165 GB, free: 6 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001478/0.01832, allocations: 181.2 kB / 0.7166 GB, free: 5.824 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01832, allocations: 0 / 0.7166 GB, free: 5.824 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000337/0.01866, allocations: 91.94 kB / 0.7167 GB, free: 5.734 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.0001395/0.0188, allocations: 122.9 kB / 0.7168 GB, free: 5.609 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006339/0.01943, allocations: 0.5609 MB / 0.7174 GB, free: 4.98 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01943, allocations: 0.6875 kB / 0.7174 GB, free: 4.98 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002828/0.01971, allocations: 309.6 kB / 0.7177 GB, free: 4.645 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.02019, allocations: 84.56 kB / 0.7178 GB, free: 4.562 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.02145, allocations: 0.8086 MB / 0.7185 GB, free: 3.711 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.02157, allocations: 160.3 kB / 0.7187 GB, free: 3.531 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.02165, allocations: 32.5 kB / 0.7187 GB, free: 3.5 MB / 426.8 MB Notification: Performance of SimCode: time 1.032e-06/0.02165, allocations: 0 / 0.7187 GB, free: 3.5 MB / 426.8 MB Notification: Performance of Templates: time 0.2089/0.2306, allocations: 4.026 MB / 0.7227 GB, free: 36.8 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.7103046383708715]