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.0007847/0.0007847, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001165/0.00195, 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.0007728/0.0007728, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001119/0.001892, 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.041/1.041, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1195/1.161, allocations: 53.67 MB / 243.3 MB, free: 15.58 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.8106/0.8106, allocations: 291.1 MB / 0.5226 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02975/0.8404, allocations: 21.04 MB / 0.5431 GB, free: 31.8 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.462e-06/1.462e-06, allocations: 0 / 0.5445 GB, free: 30.4 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.054e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.39 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference): time 0.003469/0.00349, allocations: 2.945 MB / 0.5474 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005138/0.008628, allocations: 6.782 MB / 0.554 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.008741, allocations: 4 kB / 0.554 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.468e-05/0.008815, allocations: 39.62 kB / 0.5541 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.008982, allocations: 126.9 kB / 0.5542 GB, free: 20.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.009129, allocations: 71.83 kB / 0.5543 GB, free: 20.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.009355, allocations: 393.9 kB / 0.5546 GB, free: 20.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.009476, allocations: 58.86 kB / 0.5547 GB, free: 19.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.009669, allocations: 254.5 kB / 0.5549 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.009828, allocations: 127.6 kB / 0.5551 GB, free: 19.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.009857, allocations: 24 kB / 0.5551 GB, free: 19.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.677e-05/0.009884, allocations: 24 kB / 0.5551 GB, free: 19.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.009915, allocations: 39.81 kB / 0.5551 GB, free: 19.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.858e-05/0.009984, allocations: 95.81 kB / 0.5552 GB, free: 19.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.01017, allocations: 203.3 kB / 0.5554 GB, free: 19.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.01018, allocations: 0 / 0.5554 GB, free: 19.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.01018, allocations: 3.938 kB / 0.5554 GB, free: 19.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.01019, allocations: 0 / 0.5554 GB, free: 19.21 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.0005664/0.01076, allocations: 0.6282 MB / 0.556 GB, free: 18.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.01079, allocations: 11.89 kB / 0.556 GB, free: 18.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.01084, allocations: 40.89 kB / 0.5561 GB, free: 18.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.01099, allocations: 193.5 kB / 0.5563 GB, free: 18.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.011, allocations: 16.75 kB / 0.5563 GB, free: 18.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.01104, allocations: 20.33 kB / 0.5563 GB, free: 18.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.01122, allocations: 240.7 kB / 0.5565 GB, free: 17.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.01123, allocations: 11.97 kB / 0.5565 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.01124, allocations: 11.94 kB / 0.5566 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.01125, allocations: 8 kB / 0.5566 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.01135, allocations: 133.7 kB / 0.5567 GB, free: 17.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.01185, allocations: 0.5113 MB / 0.5572 GB, free: 17.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.01201, allocations: 160.1 kB / 0.5573 GB, free: 17.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.01206, allocations: 108.4 kB / 0.5574 GB, free: 16.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.01207, allocations: 7.938 kB / 0.5575 GB, free: 16.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.01223, allocations: 313.4 kB / 0.5578 GB, free: 16.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.984e-06/0.01223, allocations: 0 / 0.5578 GB, free: 16.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006622/0.01289, allocations: 0.8132 MB / 0.5586 GB, free: 15.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.01293, allocations: 277 kB / 0.5588 GB, free: 15.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.589e-05/0.01302, allocations: 225 kB / 0.559 GB, free: 15.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.01304, allocations: 37.7 kB / 0.5591 GB, free: 15.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.01307, allocations: 133.3 kB / 0.5592 GB, free: 14.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3146/0.3277, allocations: 113.8 kB / 0.5593 GB, free: 79.39 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.3279, allocations: 73.56 kB / 0.5594 GB, free: 79.37 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.328, allocations: 343.9 kB / 0.5597 GB, free: 79.06 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.3281, allocations: 148.8 kB / 0.5598 GB, free: 78.96 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3282, allocations: 248 kB / 0.5601 GB, free: 78.73 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.3285, allocations: 345.2 kB / 0.5604 GB, free: 78.48 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3285, allocations: 1.031 kB / 0.5604 GB, free: 78.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004362/0.3289, allocations: 386 kB / 0.5608 GB, free: 78.25 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.644e-05/0.329, allocations: 93.8 kB / 0.5609 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.329, allocations: 3.906 kB / 0.5609 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.329, allocations: 5.938 kB / 0.5609 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.3294, allocations: 109.3 kB / 0.561 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3294, allocations: 6.156 kB / 0.561 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.3295, allocations: 20.2 kB / 0.561 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.3296, allocations: 15.25 kB / 0.561 GB, free: 78.16 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.0001963/0.3298, allocations: 207.2 kB / 0.5612 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.3298, allocations: 34.19 kB / 0.5612 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.915e-05/0.3299, allocations: 38.11 kB / 0.5613 GB, free: 77.97 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3299, allocations: 2.594 kB / 0.5613 GB, free: 77.97 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3299, allocations: 1.312 kB / 0.5613 GB, free: 77.97 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.3299, allocations: 22.81 kB / 0.5613 GB, free: 77.97 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.3299, allocations: 12.64 kB / 0.5613 GB, free: 77.97 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.33, allocations: 11.69 kB / 0.5613 GB, free: 77.97 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3301, allocations: 15.17 kB / 0.5613 GB, free: 77.97 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.3302, allocations: 30.55 kB / 0.5614 GB, free: 77.97 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004196/0.3306, allocations: 388.4 kB / 0.5617 GB, free: 77.74 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000473/0.3311, allocations: 0.5956 MB / 0.5623 GB, free: 77.33 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001432/0.3312, allocations: 138.9 kB / 0.5625 GB, free: 77.26 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.857e-05/0.3313, allocations: 80.67 kB / 0.5625 GB, free: 77.25 MB / 410.8 MB Notification: Performance of Backend: time 4.41e-07/0.3313, allocations: 1.188 kB / 0.5625 GB, free: 77.25 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005337/0.3318, allocations: 480.4 kB / 0.563 GB, free: 76.91 MB / 410.8 MB Notification: Performance of SimCode: time 0.007918/0.3398, allocations: 1.322 MB / 0.5643 GB, free: 75.98 MB / 410.8 MB Notification: Performance of Templates: time 0.009371/0.3491, allocations: 5.277 MB / 0.5694 GB, free: 74.94 MB / 410.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.987925781868398]