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.001412/0.001412, 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.001605/0.001605, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.089/1.089, allocations: 177.1 MB / 203.5 MB, free: 5.773 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.7182/0.7182, allocations: 291.2 MB / 0.5382 GB, free: 51.79 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,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.372e-06/1.372e-06, allocations: 0 / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.909e-05, allocations: 9.031 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam): time 0.002456/0.002486, allocations: 2.711 MB / 0.7 GB, free: 7.629 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004996/0.007481, allocations: 6.608 MB / 0.7065 GB, free: 1.012 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.007652, allocations: 4 kB / 0.7065 GB, free: 1.008 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.007789, allocations: 47.56 kB / 0.7065 GB, free: 0.9609 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.008022, allocations: 119 kB / 0.7067 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.008251, allocations: 71.84 kB / 0.7067 GB, free: 0.7734 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.008496, allocations: 393.8 kB / 0.7071 GB, free: 396 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.008646, allocations: 60.89 kB / 0.7072 GB, free: 340 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.008801, allocations: 207.5 kB / 0.7074 GB, free: 132 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.008988, allocations: 119.6 kB / 0.7075 GB, free: 12 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.009034, allocations: 24.05 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.226e-05/0.009066, allocations: 28 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.009106, allocations: 55.7 kB / 0.7076 GB, free: 15.91 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.75e-05/0.009204, allocations: 115.7 kB / 0.7077 GB, free: 15.79 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.009469, allocations: 291.1 kB / 0.708 GB, free: 15.51 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.009473, allocations: 0 / 0.708 GB, free: 15.51 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.485e-06/0.009476, allocations: 0 / 0.708 GB, free: 15.51 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.009481, allocations: 0 / 0.708 GB, free: 15.51 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.0007836/0.01026, allocations: 0.5963 MB / 0.7085 GB, free: 14.86 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.0103, allocations: 12.03 kB / 0.7086 GB, free: 14.85 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.01036, allocations: 32.75 kB / 0.7086 GB, free: 14.82 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.01059, allocations: 216.7 kB / 0.7088 GB, free: 14.58 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.0106, allocations: 16.75 kB / 0.7088 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.01064, allocations: 20.38 kB / 0.7088 GB, free: 14.55 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.01098, allocations: 292.5 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.01099, allocations: 3.953 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.01101, allocations: 16 kB / 0.7091 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.01102, allocations: 4 kB / 0.7091 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.0113, allocations: 236.4 kB / 0.7094 GB, free: 13.97 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007954/0.01209, allocations: 0.6678 MB / 0.71 GB, free: 13.26 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.01246, allocations: 244.2 kB / 0.7102 GB, free: 13 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.01264, allocations: 152.4 kB / 0.7104 GB, free: 12.84 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.01265, allocations: 4 kB / 0.7104 GB, free: 12.83 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004001/0.01305, allocations: 370.1 kB / 0.7107 GB, free: 12.42 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.01305, allocations: 0 / 0.7107 GB, free: 12.42 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001539/0.01459, allocations: 1.076 MB / 0.7118 GB, free: 11.25 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.539e-05/0.01469, allocations: 221.6 kB / 0.712 GB, free: 10.99 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.01492, allocations: 249.8 kB / 0.7122 GB, free: 10.74 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.01495, allocations: 37.7 kB / 0.7123 GB, free: 10.7 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.01504, allocations: 156.8 kB / 0.7124 GB, free: 10.54 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.01511, allocations: 119.1 kB / 0.7125 GB, free: 10.42 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.593e-05/0.01521, allocations: 74.19 kB / 0.7126 GB, free: 10.34 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.01531, allocations: 346.7 kB / 0.7129 GB, free: 9.988 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.01555, allocations: 203.9 kB / 0.7131 GB, free: 9.77 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.01584, allocations: 319.1 kB / 0.7134 GB, free: 9.398 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.01628, allocations: 431.1 kB / 0.7139 GB, free: 8.91 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01628, allocations: 0 / 0.7139 GB, free: 8.91 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006426/0.01692, allocations: 0.5497 MB / 0.7144 GB, free: 8.316 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.526e-05/0.01698, allocations: 89.11 kB / 0.7145 GB, free: 8.211 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.01699, allocations: 4 kB / 0.7145 GB, free: 8.207 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.01701, allocations: 4 kB / 0.7145 GB, free: 8.203 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.01723, allocations: 79.83 kB / 0.7146 GB, free: 8.125 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.01724, allocations: 12.33 kB / 0.7146 GB, free: 8.113 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.01739, allocations: 23.98 kB / 0.7146 GB, free: 8.09 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.01741, allocations: 16 kB / 0.7146 GB, free: 8.074 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.0002148/0.01763, allocations: 224.8 kB / 0.7148 GB, free: 7.836 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.01767, allocations: 31.81 kB / 0.7149 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.01772, allocations: 34.89 kB / 0.7149 GB, free: 7.77 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.01772, allocations: 4 kB / 0.7149 GB, free: 7.766 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.01773, allocations: 4 kB / 0.7149 GB, free: 7.762 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.01773, allocations: 3.984 kB / 0.7149 GB, free: 7.758 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008724/0.01861, allocations: 0.7601 MB / 0.7156 GB, free: 6.938 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.01861, allocations: 0 / 0.7156 GB, free: 6.938 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.0188, allocations: 55.91 kB / 0.7157 GB, free: 6.883 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01881, allocations: 0 / 0.7157 GB, free: 6.883 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.01883, allocations: 11.98 kB / 0.7157 GB, free: 6.871 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01883, allocations: 4 kB / 0.7157 GB, free: 6.867 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.01883, allocations: 11.88 kB / 0.7157 GB, free: 6.855 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007679/0.0196, allocations: 0.719 MB / 0.7164 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.01964, allocations: 31.86 kB / 0.7165 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.01969, allocations: 12 kB / 0.7165 GB, free: 6.035 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.01983, allocations: 20.11 kB / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.01991, allocations: 31.89 kB / 0.7165 GB, free: 5.984 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.01993, allocations: 19.92 kB / 0.7165 GB, free: 5.965 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001384/0.02007, allocations: 177.2 kB / 0.7167 GB, free: 5.793 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.61e-07/0.02007, allocations: 4 kB / 0.7167 GB, free: 5.789 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000324/0.02039, allocations: 84 kB / 0.7168 GB, free: 5.707 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.0001283/0.02052, allocations: 126.9 kB / 0.7169 GB, free: 5.578 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005866/0.02111, allocations: 0.5535 MB / 0.7175 GB, free: 4.957 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.02111, allocations: 12.19 kB / 0.7175 GB, free: 4.945 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.02137, allocations: 301.6 kB / 0.7177 GB, free: 4.617 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.02183, allocations: 88.42 kB / 0.7178 GB, free: 4.531 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.02301, allocations: 0.8047 MB / 0.7186 GB, free: 3.684 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.02312, allocations: 156.3 kB / 0.7188 GB, free: 3.508 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.0232, allocations: 32.5 kB / 0.7188 GB, free: 3.477 MB / 426.8 MB Notification: Performance of SimCode: time 5.01e-07/0.0232, allocations: 4 kB / 0.7188 GB, free: 3.473 MB / 426.8 MB Notification: Performance of Templates: time 0.1845/0.2077, allocations: 4.019 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.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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.876610737293959]