Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_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.001028/0.001028, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002356, allocations: 455.9 kB / 10.35 MB, free: 348 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.001047/0.001047, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001257/0.002304, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.026/1.026, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1222/1.148, allocations: 53.67 MB / 243.3 MB, free: 15.56 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.7947/0.7947, allocations: 291.2 MB / 0.5227 GB, free: 52.73 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04035/0.835, allocations: 21.05 MB / 0.5433 GB, free: 31.75 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.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.5446 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.275e-05/3.486e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference): time 0.004059/0.004094, allocations: 2.495 MB / 0.547 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005437/0.009531, allocations: 6.692 MB / 0.5536 GB, free: 21.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.009643, allocations: 4 kB / 0.5536 GB, free: 21.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.796e-05/0.009721, allocations: 27.66 kB / 0.5536 GB, free: 21.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.009864, allocations: 87.31 kB / 0.5537 GB, free: 21.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.009991, allocations: 55.81 kB / 0.5537 GB, free: 20.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.01019, allocations: 266.6 kB / 0.554 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.01031, allocations: 38.53 kB / 0.554 GB, free: 20.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.01047, allocations: 184.2 kB / 0.5542 GB, free: 20.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.01062, allocations: 87.72 kB / 0.5543 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.01065, allocations: 16 kB / 0.5543 GB, free: 20.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.303e-05/0.01067, allocations: 16 kB / 0.5543 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.0107, allocations: 27.88 kB / 0.5544 GB, free: 20.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.01076, allocations: 59.88 kB / 0.5544 GB, free: 20.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.01091, allocations: 139.5 kB / 0.5545 GB, free: 20.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.01092, allocations: 0 / 0.5545 GB, free: 20.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01093, allocations: 0 / 0.5545 GB, free: 20.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.01094, allocations: 3.938 kB / 0.5545 GB, free: 20.17 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000598/0.01154, allocations: 0.4976 MB / 0.555 GB, free: 19.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.01157, allocations: 19.84 kB / 0.5551 GB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.01161, allocations: 20.92 kB / 0.5551 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.01177, allocations: 179.1 kB / 0.5552 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.01179, allocations: 12.55 kB / 0.5553 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.01181, allocations: 24.3 kB / 0.5553 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.01197, allocations: 151.5 kB / 0.5554 GB, free: 19.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.01198, allocations: 8 kB / 0.5554 GB, free: 19.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.01199, allocations: 4 kB / 0.5554 GB, free: 19.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.012, allocations: 4 kB / 0.5554 GB, free: 19.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.01207, allocations: 72.7 kB / 0.5555 GB, free: 19.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.01245, allocations: 368.9 kB / 0.5559 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.01262, allocations: 112.2 kB / 0.556 GB, free: 18.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.01265, allocations: 58.55 kB / 0.556 GB, free: 18.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.01266, allocations: 4 kB / 0.556 GB, free: 18.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.01281, allocations: 184.4 kB / 0.5562 GB, free: 18.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.01281, allocations: 4 kB / 0.5562 GB, free: 18.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000542/0.01335, allocations: 0.5156 MB / 0.5567 GB, free: 17.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.01339, allocations: 166.2 kB / 0.5569 GB, free: 17.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.77e-05/0.01348, allocations: 206 kB / 0.5571 GB, free: 17.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.01349, allocations: 33.7 kB / 0.5571 GB, free: 17.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.01352, allocations: 128.4 kB / 0.5572 GB, free: 17.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.01355, allocations: 67.47 kB / 0.5573 GB, free: 17.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.01359, allocations: 47.19 kB / 0.5573 GB, free: 17.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.212e-05/0.01362, allocations: 338.8 kB / 0.5577 GB, free: 16.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.666e-05/0.01367, allocations: 96.98 kB / 0.5577 GB, free: 16.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.639e-05/0.01373, allocations: 171.8 kB / 0.5579 GB, free: 16.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.584e-05/0.01382, allocations: 219 kB / 0.5581 GB, free: 16.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.01383, allocations: 3.938 kB / 0.5581 GB, free: 16.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000144/0.01397, allocations: 260.2 kB / 0.5584 GB, free: 15.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.014, allocations: 67.39 kB / 0.5584 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01401, allocations: 0 / 0.5584 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.01402, allocations: 4.219 kB / 0.5584 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.01417, allocations: 63.91 kB / 0.5585 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01417, allocations: 10.64 kB / 0.5585 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.01425, allocations: 15.94 kB / 0.5585 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.01426, allocations: 15.69 kB / 0.5585 GB, free: 15.64 MB / 410.7 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 9.643e-05/0.01435, allocations: 173.6 kB / 0.5587 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.01437, allocations: 19.97 kB / 0.5587 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.0144, allocations: 29.97 kB / 0.5588 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.0144, allocations: 0 / 0.5588 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.0144, allocations: 0 / 0.5588 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01441, allocations: 7.969 kB / 0.5588 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.01465, allocations: 381 kB / 0.5591 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01465, allocations: 3.938 kB / 0.5591 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.01476, allocations: 43.91 kB / 0.5592 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.01477, allocations: 15.86 kB / 0.5592 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01478, allocations: 0 / 0.5592 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.01479, allocations: 11.98 kB / 0.5592 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01479, allocations: 4 kB / 0.5592 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01479, allocations: 0 / 0.5592 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2801/0.2949, allocations: 339.4 kB / 0.5595 GB, free: 79.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.2949, allocations: 7.938 kB / 0.5595 GB, free: 79.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.2951, allocations: 11.64 kB / 0.5595 GB, free: 79.41 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.2951, allocations: 22.36 kB / 0.5596 GB, free: 79.41 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.2952, allocations: 6.344 kB / 0.5596 GB, free: 79.41 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.245e-05/0.2952, allocations: 63.98 kB / 0.5596 GB, free: 79.4 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.2952, allocations: 2.812 kB / 0.5596 GB, free: 79.4 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002742/0.2955, allocations: 57.12 kB / 0.5597 GB, free: 79.4 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001011/0.2956, allocations: 95.39 kB / 0.5598 GB, free: 79.33 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.2958, allocations: 311.8 kB / 0.5601 GB, free: 79.11 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.2958, allocations: 3.125 kB / 0.5601 GB, free: 79.11 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2959, allocations: 152.1 kB / 0.5602 GB, free: 79 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.2963, allocations: 88.86 kB / 0.5603 GB, free: 79 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007397/0.3037, allocations: 0.5456 MB / 0.5608 GB, free: 78.74 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.6e-05/0.3037, allocations: 85.66 kB / 0.5609 GB, free: 78.67 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.813e-05/0.3038, allocations: 22.05 kB / 0.5609 GB, free: 78.67 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.304, allocations: 123.2 kB / 0.5611 GB, free: 78.62 MB / 410.8 MB Notification: Performance of SimCode: time 9.02e-07/0.304, allocations: 2.469 kB / 0.5611 GB, free: 78.62 MB / 410.8 MB Notification: Performance of Templates: time 0.006344/0.3103, allocations: 3.796 MB / 0.5648 GB, free: 78.41 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin_Timmer1985_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.283689433708787]