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.00114/0.00114, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001743/0.002883, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0009815/0.0009815, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009792/0.001961, allocations: 475.7 kB / 11.72 MB, free: 2.453 MB / 13.93 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.027/1.027, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1198/1.146, allocations: 53.67 MB / 243.3 MB, free: 15.59 MB / 250.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.7573/0.7573, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03346/0.7908, allocations: 21.04 MB / 0.5432 GB, free: 31.95 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.764e-06/1.764e-06, allocations: 0 / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.162e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.51 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam): time 0.002976/0.002998, allocations: 2.962 MB / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.01446, allocations: 6.782 MB / 0.5541 GB, free: 20.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.01462, allocations: 0 / 0.5541 GB, free: 20.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.907e-05/0.01472, allocations: 39.58 kB / 0.5542 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.01494, allocations: 127 kB / 0.5543 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.01512, allocations: 71.78 kB / 0.5543 GB, free: 20.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003325/0.01845, allocations: 393.9 kB / 0.5547 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.0186, allocations: 58.84 kB / 0.5548 GB, free: 20.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.01885, allocations: 250.6 kB / 0.555 GB, free: 19.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.01906, allocations: 123.6 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.01909, allocations: 24 kB / 0.5552 GB, free: 19.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.616e-05/0.01913, allocations: 24 kB / 0.5552 GB, free: 19.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.01917, allocations: 43.81 kB / 0.5552 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.782e-05/0.01927, allocations: 95.81 kB / 0.5553 GB, free: 19.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.0195, allocations: 207.2 kB / 0.5555 GB, free: 19.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.01951, allocations: 0 / 0.5555 GB, free: 19.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.01951, allocations: 0 / 0.5555 GB, free: 19.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.01953, allocations: 0 / 0.5555 GB, free: 19.31 MB / 410.7 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.0007321/0.02026, allocations: 0.6282 MB / 0.5561 GB, free: 18.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.02029, allocations: 11.89 kB / 0.5561 GB, free: 18.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.02036, allocations: 40.91 kB / 0.5562 GB, free: 18.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.02055, allocations: 189.5 kB / 0.5564 GB, free: 18.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.02057, allocations: 20.75 kB / 0.5564 GB, free: 18.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.02061, allocations: 24.33 kB / 0.5564 GB, free: 18.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.02085, allocations: 244.6 kB / 0.5566 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.02087, allocations: 0 / 0.5566 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.02088, allocations: 12 kB / 0.5566 GB, free: 18.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.02089, allocations: 4 kB / 0.5566 GB, free: 18.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.02102, allocations: 130.6 kB / 0.5568 GB, free: 17.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003676/0.0247, allocations: 0.5269 MB / 0.5573 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.0249, allocations: 154.1 kB / 0.5574 GB, free: 17.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.53e-05/0.02497, allocations: 96.48 kB / 0.5575 GB, free: 17.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.02498, allocations: 7.938 kB / 0.5575 GB, free: 17.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.02519, allocations: 323.4 kB / 0.5578 GB, free: 16.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.704e-06/0.02519, allocations: 0 / 0.5578 GB, free: 16.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008601/0.02605, allocations: 0.8131 MB / 0.5586 GB, free: 15.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.02611, allocations: 277 kB / 0.5589 GB, free: 15.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.02624, allocations: 229 kB / 0.5591 GB, free: 15.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.02626, allocations: 37.7 kB / 0.5592 GB, free: 15.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.02631, allocations: 133.3 kB / 0.5593 GB, free: 15.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.02637, allocations: 123 kB / 0.5594 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.599e-05/0.02644, allocations: 66.17 kB / 0.5595 GB, free: 14.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2608/0.2872, allocations: 342.7 kB / 0.5598 GB, free: 79.49 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.2874, allocations: 147.5 kB / 0.5599 GB, free: 79.39 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.2875, allocations: 247.3 kB / 0.5602 GB, free: 79.16 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.2877, allocations: 346.3 kB / 0.5605 GB, free: 78.91 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2877, allocations: 2.344 kB / 0.5605 GB, free: 78.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003556/0.2881, allocations: 385.6 kB / 0.5609 GB, free: 78.69 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.2881, allocations: 91.8 kB / 0.561 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2882, allocations: 3.938 kB / 0.561 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.2882, allocations: 5.531 kB / 0.561 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.2885, allocations: 109.4 kB / 0.5611 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2885, allocations: 8.375 kB / 0.5611 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.2887, allocations: 20.34 kB / 0.5611 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.2887, allocations: 13.78 kB / 0.5611 GB, free: 78.59 MB / 410.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.0001861/0.2889, allocations: 213.4 kB / 0.5613 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.2889, allocations: 35.27 kB / 0.5613 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.289, allocations: 37.06 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.289, allocations: 1.688 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.289, allocations: 0.75 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.289, allocations: 22.33 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.2891, allocations: 10.62 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.2891, allocations: 9.875 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.2892, allocations: 15.95 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.2893, allocations: 30.5 kB / 0.5615 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003386/0.2896, allocations: 392.5 kB / 0.5618 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003694/0.29, allocations: 0.5902 MB / 0.5624 GB, free: 77.77 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001085/0.2901, allocations: 138.4 kB / 0.5625 GB, free: 77.7 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.1e-05/0.2902, allocations: 80.3 kB / 0.5626 GB, free: 77.68 MB / 410.8 MB Notification: Performance of Backend: time 4.11e-07/0.2902, allocations: 1.281 kB / 0.5626 GB, free: 77.68 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004689/0.2906, allocations: 481.7 kB / 0.5631 GB, free: 77.35 MB / 410.8 MB Notification: Performance of SimCode: time 0.00782/0.2985, allocations: 1.318 MB / 0.5644 GB, free: 76.41 MB / 410.8 MB Notification: Performance of Templates: time 0.007906/0.3064, allocations: 5.268 MB / 0.5695 GB, free: 75.39 MB / 410.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 -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.808198794722557]