Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin.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.0009543/0.0009543, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002244, 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.001046/0.001046, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001298/0.002344, 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.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1161/1.122, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.741/0.741, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03815/0.7792, allocations: 21.05 MB / 0.5432 GB, free: 31.94 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 4 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.599e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin): time 0.007536/0.007562, allocations: 2.517 MB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.02027, allocations: 6.688 MB / 0.5536 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.02053, allocations: 3.938 kB / 0.5536 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.02065, allocations: 31.72 kB / 0.5536 GB, free: 21.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.02087, allocations: 83.31 kB / 0.5537 GB, free: 21.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.02106, allocations: 55.75 kB / 0.5537 GB, free: 21.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.02134, allocations: 266.6 kB / 0.554 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.02147, allocations: 42.53 kB / 0.554 GB, free: 20.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.02171, allocations: 168.3 kB / 0.5542 GB, free: 20.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.02191, allocations: 87.72 kB / 0.5543 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.02195, allocations: 16 kB / 0.5543 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.373e-05/0.02199, allocations: 24 kB / 0.5543 GB, free: 20.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.02202, allocations: 27.88 kB / 0.5543 GB, free: 20.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.0221, allocations: 59.88 kB / 0.5544 GB, free: 20.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.02252, allocations: 143.5 kB / 0.5545 GB, free: 20.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.02254, allocations: 0 / 0.5545 GB, free: 20.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.02254, allocations: 4 kB / 0.5545 GB, free: 20.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.02255, allocations: 0 / 0.5545 GB, free: 20.33 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.0006307/0.02318, allocations: 0.4976 MB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.02322, allocations: 8.031 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.02327, allocations: 24.92 kB / 0.555 GB, free: 19.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.02345, allocations: 183 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.02347, allocations: 12.61 kB / 0.5552 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.0235, allocations: 12.38 kB / 0.5552 GB, free: 19.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.02369, allocations: 159.5 kB / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.0237, allocations: 0 / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.02372, allocations: 8 kB / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.02372, allocations: 0 / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.498e-05/0.02382, allocations: 88.62 kB / 0.5555 GB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.02429, allocations: 369 kB / 0.5558 GB, free: 18.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.02449, allocations: 108.1 kB / 0.5559 GB, free: 18.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.02454, allocations: 62.53 kB / 0.556 GB, free: 18.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.02455, allocations: 4 kB / 0.556 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.02472, allocations: 188.3 kB / 0.5562 GB, free: 18.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.823e-06/0.02472, allocations: 0 / 0.5562 GB, free: 18.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0009445/0.02567, allocations: 0.5084 MB / 0.5567 GB, free: 17.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.0257, allocations: 170.2 kB / 0.5568 GB, free: 17.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.02581, allocations: 210 kB / 0.557 GB, free: 17.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.02583, allocations: 33.7 kB / 0.5571 GB, free: 17.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.02587, allocations: 112.4 kB / 0.5572 GB, free: 17.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.02591, allocations: 71.47 kB / 0.5573 GB, free: 17.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.02598, allocations: 51.17 kB / 0.5573 GB, free: 17.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.02602, allocations: 342.8 kB / 0.5576 GB, free: 16.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.88e-05/0.02609, allocations: 93 kB / 0.5577 GB, free: 16.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.02617, allocations: 179.7 kB / 0.5579 GB, free: 16.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.02629, allocations: 211.7 kB / 0.5581 GB, free: 16.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.0263, allocations: 4 kB / 0.5581 GB, free: 16.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002135/0.02651, allocations: 262.1 kB / 0.5583 GB, free: 15.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.02655, allocations: 59.41 kB / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.02655, allocations: 4 kB / 0.5584 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.02657, allocations: 3.312 kB / 0.5584 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.02678, allocations: 71.89 kB / 0.5585 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.02679, allocations: 4 kB / 0.5585 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.02692, allocations: 20.2 kB / 0.5585 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.02693, allocations: 7.938 kB / 0.5585 GB, free: 15.81 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 0.0001465/0.02708, allocations: 165.7 kB / 0.5587 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.02711, allocations: 27.92 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.02714, allocations: 25.95 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.02715, allocations: 0 / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.02715, allocations: 0 / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.02718, allocations: 19.86 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.02719, allocations: 11.92 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.02722, allocations: 8 kB / 0.5588 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.6e-05/0.02731, allocations: 15.98 kB / 0.5588 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.02736, allocations: 15.97 kB / 0.5588 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002454/0.0276, allocations: 272.2 kB / 0.559 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002564/0.02786, allocations: 422.5 kB / 0.5594 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.263/0.2908, allocations: 75.39 kB / 0.5595 GB, free: 79.56 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001092/0.291, allocations: 65.52 kB / 0.5596 GB, free: 79.55 MB / 410.8 MB Notification: Performance of Backend: time 3.81e-07/0.291, allocations: 0 / 0.5596 GB, free: 79.55 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004445/0.2914, allocations: 333.9 kB / 0.5599 GB, free: 79.31 MB / 410.8 MB Notification: Performance of SimCode: time 0.005586/0.297, allocations: 1.119 MB / 0.561 GB, free: 78.5 MB / 410.8 MB Notification: Performance of Templates: time 0.006362/0.3033, allocations: 3.849 MB / 0.5648 GB, free: 78.38 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AX03_Mianserin.Mianserin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1491429945454]