Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.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.0009099/0.0009099, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.002109, 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.0008894/0.0008894, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001184/0.002073, 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.016/1.016, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09089/1.107, 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.849/0.849, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03415/0.8832, allocations: 21.04 MB / 0.5432 GB, free: 31.96 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.N06AG03_Toloxatone.Toloxatone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5446 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.354e-05, allocations: 10.25 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone): time 0.002037/0.002051, allocations: 2.51 MB / 0.547 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00388/0.00593, allocations: 6.692 MB / 0.5535 GB, free: 21.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.397e-05/0.006014, allocations: 0 / 0.5535 GB, free: 21.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.583e-05/0.00608, allocations: 31.72 kB / 0.5536 GB, free: 21.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.006208, allocations: 79.33 kB / 0.5537 GB, free: 21.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.006327, allocations: 55.8 kB / 0.5537 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.006494, allocations: 274.5 kB / 0.554 GB, free: 20.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.006601, allocations: 38.55 kB / 0.554 GB, free: 20.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.006773, allocations: 172.2 kB / 0.5542 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.006924, allocations: 83.78 kB / 0.5543 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.006951, allocations: 16 kB / 0.5543 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.223e-05/0.006974, allocations: 20 kB / 0.5543 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.43e-05/0.007008, allocations: 23.88 kB / 0.5543 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.967e-05/0.007068, allocations: 63.88 kB / 0.5544 GB, free: 20.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.007232, allocations: 143.5 kB / 0.5545 GB, free: 20.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.007243, allocations: 0 / 0.5545 GB, free: 20.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.8e-07/0.007243, allocations: 4 kB / 0.5545 GB, free: 20.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.007256, allocations: 0 / 0.5545 GB, free: 20.35 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.0005292/0.007785, allocations: 0.4976 MB / 0.555 GB, free: 19.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.007814, allocations: 11.89 kB / 0.555 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.007854, allocations: 28.86 kB / 0.555 GB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.007997, allocations: 179 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.008014, allocations: 12.61 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.008036, allocations: 16.38 kB / 0.5552 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.008183, allocations: 163.4 kB / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.008194, allocations: 0 / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.008204, allocations: 8 kB / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.008209, allocations: 0 / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.079e-05/0.00828, allocations: 76.64 kB / 0.5555 GB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.008641, allocations: 365 kB / 0.5558 GB, free: 18.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.008799, allocations: 120.1 kB / 0.5559 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/0.008833, allocations: 58.55 kB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.008843, allocations: 4 kB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.008972, allocations: 192.3 kB / 0.5562 GB, free: 18.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.472e-06/0.008974, allocations: 0 / 0.5562 GB, free: 18.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005107/0.009484, allocations: 0.5084 MB / 0.5567 GB, free: 17.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.009516, allocations: 166.2 kB / 0.5568 GB, free: 17.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.592e-05/0.009612, allocations: 210 kB / 0.557 GB, free: 17.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.009624, allocations: 33.7 kB / 0.5571 GB, free: 17.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.009656, allocations: 116.4 kB / 0.5572 GB, free: 17.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.009688, allocations: 67.47 kB / 0.5572 GB, free: 17.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.009736, allocations: 55.17 kB / 0.5573 GB, free: 17.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.776e-05/0.009774, allocations: 338.8 kB / 0.5576 GB, free: 16.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.009824, allocations: 93 kB / 0.5577 GB, free: 16.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.333e-05/0.009887, allocations: 181.2 kB / 0.5579 GB, free: 16.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.962e-05/0.009987, allocations: 203.8 kB / 0.5581 GB, free: 16.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.009989, allocations: 3.625 kB / 0.5581 GB, free: 16.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001485/0.01014, allocations: 270 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.01017, allocations: 59.62 kB / 0.5584 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01017, allocations: 8 kB / 0.5584 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.01018, allocations: 0 / 0.5584 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.01033, allocations: 67.89 kB / 0.5585 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.01034, allocations: 0 / 0.5585 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.168e-05/0.01043, allocations: 19.98 kB / 0.5585 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.01044, allocations: 11.94 kB / 0.5585 GB, free: 15.83 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.0001157/0.01056, allocations: 173.6 kB / 0.5587 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.01058, allocations: 27.92 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.01061, allocations: 21.95 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.01062, allocations: 0 / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01062, allocations: 0 / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.01064, allocations: 19.86 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01065, allocations: 11.92 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.01068, allocations: 8 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-05/0.01073, allocations: 15.98 kB / 0.5588 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.01078, allocations: 11.97 kB / 0.5588 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001935/0.01097, allocations: 276.2 kB / 0.559 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000202/0.01117, allocations: 426.5 kB / 0.5594 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.297/0.3082, allocations: 73.53 kB / 0.5595 GB, free: 79.57 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.33e-05/0.3083, allocations: 63.64 kB / 0.5596 GB, free: 79.56 MB / 410.8 MB Notification: Performance of Backend: time 4.2e-07/0.3083, allocations: 0 / 0.5596 GB, free: 79.56 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004159/0.3087, allocations: 333.3 kB / 0.5599 GB, free: 79.32 MB / 410.8 MB Notification: Performance of SimCode: time 0.005768/0.3145, allocations: 1.119 MB / 0.561 GB, free: 78.51 MB / 410.8 MB Notification: Performance of Templates: time 0.006733/0.3212, allocations: 3.847 MB / 0.5647 GB, free: 78.39 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.728936992585659]