Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_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.000716/0.000716, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.001885, allocations: 440 kB / 10.41 MB, free: 284 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.0007397/0.0007397, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001047/0.001787, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.002/1.002, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08701/1.089, allocations: 53.68 MB / 243.4 MB, free: 15.48 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.7436/0.7436, allocations: 291.1 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03688/0.7805, allocations: 21.04 MB / 0.5433 GB, free: 31.48 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.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5447 GB, free: 30.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.058e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.06 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference): time 0.00307/0.003101, allocations: 2.495 MB / 0.5471 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008565/0.003957, allocations: 0.6349 MB / 0.5477 GB, free: 26.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.63e-05/0.004054, allocations: 0 / 0.5477 GB, free: 26.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.061e-05/0.004134, allocations: 23.72 kB / 0.5478 GB, free: 26.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.004281, allocations: 87.27 kB / 0.5478 GB, free: 26.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.00443, allocations: 55.8 kB / 0.5479 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.004674, allocations: 266.6 kB / 0.5482 GB, free: 26.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.004801, allocations: 34.55 kB / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.005023, allocations: 184.2 kB / 0.5484 GB, free: 26.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.005209, allocations: 87.77 kB / 0.5484 GB, free: 26.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.005239, allocations: 16 kB / 0.5485 GB, free: 26.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.764e-05/0.005266, allocations: 16 kB / 0.5485 GB, free: 26.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.582e-05/0.005302, allocations: 27.88 kB / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.005364, allocations: 59.88 kB / 0.5486 GB, free: 26.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.005555, allocations: 139.5 kB / 0.5487 GB, free: 25.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.005566, allocations: 3.938 kB / 0.5487 GB, free: 25.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.005567, allocations: 0 / 0.5487 GB, free: 25.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.005578, allocations: 0 / 0.5487 GB, free: 25.94 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.0006606/0.006238, allocations: 0.4976 MB / 0.5492 GB, free: 25.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.006273, allocations: 15.89 kB / 0.5492 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.006325, allocations: 20.92 kB / 0.5492 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.006514, allocations: 183 kB / 0.5494 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.006535, allocations: 8.609 kB / 0.5494 GB, free: 25.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.006566, allocations: 16.38 kB / 0.5494 GB, free: 25.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.006758, allocations: 159.4 kB / 0.5496 GB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.006771, allocations: 8 kB / 0.5496 GB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.006782, allocations: 0 / 0.5496 GB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.006789, allocations: 4 kB / 0.5496 GB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.858e-05/0.006878, allocations: 82.28 kB / 0.5497 GB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.007327, allocations: 365 kB / 0.55 GB, free: 24.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.007508, allocations: 108.2 kB / 0.5501 GB, free: 24.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.007544, allocations: 54.55 kB / 0.5502 GB, free: 24.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.007552, allocations: 4 kB / 0.5502 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.007696, allocations: 200.3 kB / 0.5504 GB, free: 24.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.873e-06/0.007698, allocations: 0 / 0.5504 GB, free: 24.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005659/0.008264, allocations: 0.5152 MB / 0.5509 GB, free: 23.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.008299, allocations: 162.2 kB / 0.551 GB, free: 23.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.723e-05/0.008396, allocations: 210 kB / 0.5512 GB, free: 23.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.00841, allocations: 29.7 kB / 0.5512 GB, free: 23.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.008444, allocations: 128.4 kB / 0.5514 GB, free: 22.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.008474, allocations: 67.45 kB / 0.5514 GB, free: 22.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.008519, allocations: 51.19 kB / 0.5515 GB, free: 22.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.474e-05/0.008554, allocations: 338.8 kB / 0.5518 GB, free: 22.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.008603, allocations: 97 kB / 0.5519 GB, free: 22.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.47e-05/0.008668, allocations: 177.3 kB / 0.5521 GB, free: 22.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.008769, allocations: 219.7 kB / 0.5523 GB, free: 21.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008771, allocations: 0 / 0.5523 GB, free: 21.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001581/0.008929, allocations: 262.5 kB / 0.5525 GB, free: 21.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.008963, allocations: 63.41 kB / 0.5526 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.008971, allocations: 10.64 kB / 0.5526 GB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.008983, allocations: 4.156 kB / 0.5526 GB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.009141, allocations: 67.34 kB / 0.5527 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.009145, allocations: 7.938 kB / 0.5527 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.009222, allocations: 19.92 kB / 0.5527 GB, free: 21.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.009232, allocations: 8 kB / 0.5527 GB, free: 21.41 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.0001019/0.009334, allocations: 167.6 kB / 0.5529 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.009354, allocations: 19.98 kB / 0.5529 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.009382, allocations: 29.95 kB / 0.5529 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.009384, allocations: 4 kB / 0.5529 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.009386, allocations: 0 / 0.5529 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.00939, allocations: 0 / 0.5529 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.009638, allocations: 378.2 kB / 0.5533 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.009642, allocations: 3.938 kB / 0.5533 GB, free: 20.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.009766, allocations: 41.94 kB / 0.5533 GB, free: 20.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.009785, allocations: 19.86 kB / 0.5533 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.009787, allocations: 0 / 0.5533 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.009798, allocations: 3.984 kB / 0.5533 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.009799, allocations: 8 kB / 0.5533 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.009801, allocations: 0 / 0.5533 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.009985, allocations: 352.9 kB / 0.5537 GB, free: 20.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.01001, allocations: 8 kB / 0.5537 GB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.01008, allocations: 12 kB / 0.5537 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.01013, allocations: 19.95 kB / 0.5537 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.01013, allocations: 7.938 kB / 0.5537 GB, free: 20.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.473e-05/0.01018, allocations: 65.95 kB / 0.5538 GB, free: 20.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01018, allocations: 0 / 0.5538 GB, free: 20.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.01034, allocations: 56 kB / 0.5538 GB, free: 20.14 MB / 410.7 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 8.352e-05/0.01043, allocations: 99.66 kB / 0.5539 GB, free: 20.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.0106, allocations: 311.6 kB / 0.5542 GB, free: 19.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.0106, allocations: 0 / 0.5542 GB, free: 19.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.01068, allocations: 157.7 kB / 0.5544 GB, free: 19.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.01098, allocations: 0.5023 MB / 0.5549 GB, free: 18.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/0.01612, allocations: 0.5693 MB / 0.5554 GB, free: 18.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.14e-05/0.01615, allocations: 76.33 kB / 0.5555 GB, free: 18.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.413e-05/0.01623, allocations: 21.94 kB / 0.5555 GB, free: 18.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.01635, allocations: 119.3 kB / 0.5556 GB, free: 18.09 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01635, allocations: 4 kB / 0.5556 GB, free: 18.09 MB / 410.7 MB Notification: Performance of Templates: time 0.2317/0.2481, allocations: 3.777 MB / 0.5593 GB, free: 84.68 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.720082855783403]