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.00449/0.00449, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.006021/0.006021, allocations: 215.5 kB / 22.25 MB, free: 3.57 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.762/1.762, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 178] 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 1.503/1.503, allocations: 316.7 MB / 0.6144 GB, free: 92.93 MB / 410.7 MB " [Timeout remaining time 178] 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003918/0.003918, allocations: 80.06 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1745, allocations: 73.98 MB / 0.8472 GB, free: 4.914 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference): time 0.004927/0.1795, allocations: 2.297 MB / 0.8495 GB, free: 2.617 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1808, allocations: 0.5874 MB / 0.85 GB, free: 2.035 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.181, allocations: 8.625 kB / 0.85 GB, free: 2.027 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.1811, allocations: 27.66 kB / 0.8501 GB, free: 2 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.1814, allocations: 84.62 kB / 0.8501 GB, free: 1.918 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.1816, allocations: 48.42 kB / 0.8502 GB, free: 1.871 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005404/0.1821, allocations: 255.9 kB / 0.8504 GB, free: 1.621 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.1823, allocations: 36.56 kB / 0.8505 GB, free: 1.586 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.1825, allocations: 95.64 kB / 0.8506 GB, free: 1.492 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.1827, allocations: 96.64 kB / 0.8507 GB, free: 1.398 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.1827, allocations: 16 kB / 0.8507 GB, free: 1.383 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.372e-05/0.1828, allocations: 19.94 kB / 0.8507 GB, free: 1.363 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.1828, allocations: 40.72 kB / 0.8507 GB, free: 1.324 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.183, allocations: 87.59 kB / 0.8508 GB, free: 1.238 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.1833, allocations: 200.7 kB / 0.851 GB, free: 1.043 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1833, allocations: 0 / 0.851 GB, free: 1.043 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1833, allocations: 0 / 0.851 GB, free: 1.043 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1833, allocations: 0 / 0.851 GB, free: 1.043 MB / 474.8 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.001026/0.1843, allocations: 0.4915 MB / 0.8515 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1844, allocations: 15.98 kB / 0.8515 GB, free: 0.4922 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.746e-05/0.1844, allocations: 24.8 kB / 0.8515 GB, free: 480 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.1847, allocations: 187.1 kB / 0.8517 GB, free: 264 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.1848, allocations: 9.703 kB / 0.8517 GB, free: 256 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.1848, allocations: 23.89 kB / 0.8517 GB, free: 232 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.1852, allocations: 192.3 kB / 0.8519 GB, free: 24 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1853, allocations: 0 / 0.8519 GB, free: 24 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.1853, allocations: 11.94 kB / 0.8519 GB, free: 12 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1853, allocations: 4 kB / 0.8519 GB, free: 8 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.1857, allocations: 154.7 kB / 0.8521 GB, free: 15.86 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009144/0.1866, allocations: 474.6 kB / 0.8525 GB, free: 15.36 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005513/0.1872, allocations: 181.1 kB / 0.8527 GB, free: 15.17 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.1874, allocations: 95.27 kB / 0.8528 GB, free: 15.07 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.1874, allocations: 0.6875 kB / 0.8528 GB, free: 15.07 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004273/0.1878, allocations: 233.6 kB / 0.853 GB, free: 14.81 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.1878, allocations: 0 / 0.853 GB, free: 14.81 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001652/0.1895, allocations: 0.7012 MB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.1896, allocations: 132.5 kB / 0.8538 GB, free: 13.89 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.1898, allocations: 219.6 kB / 0.854 GB, free: 13.66 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.1899, allocations: 30.77 kB / 0.8541 GB, free: 13.63 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.19, allocations: 132.5 kB / 0.8542 GB, free: 13.5 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.1901, allocations: 71.42 kB / 0.8543 GB, free: 13.43 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1902, allocations: 59.03 kB / 0.8543 GB, free: 13.36 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1904, allocations: 338.8 kB / 0.8546 GB, free: 13.02 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.1906, allocations: 145 kB / 0.8548 GB, free: 12.86 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.191, allocations: 222.5 kB / 0.855 GB, free: 12.6 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.1915, allocations: 278.2 kB / 0.8553 GB, free: 12.29 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1915, allocations: 0 / 0.8553 GB, free: 12.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.355/0.5464, allocations: 387.1 kB / 0.8556 GB, free: 28.13 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.5465, allocations: 69.34 kB / 0.8557 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5465, allocations: 4.188 kB / 0.8557 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.5465, allocations: 2.125 kB / 0.8557 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.5467, allocations: 51.47 kB / 0.8557 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.5467, allocations: 3.719 kB / 0.8557 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.5469, allocations: 19 kB / 0.8558 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.547, allocations: 10.38 kB / 0.8558 GB, free: 28.07 MB / 490.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: 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.000196/0.5471, allocations: 174.4 kB / 0.8559 GB, free: 27.93 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.5472, allocations: 29.44 kB / 0.856 GB, free: 27.93 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.5472, allocations: 26.53 kB / 0.856 GB, free: 27.92 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.5472, allocations: 1.188 kB / 0.856 GB, free: 27.92 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.5473, allocations: 1.531 kB / 0.856 GB, free: 27.92 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5473, allocations: 2.938 kB / 0.856 GB, free: 27.92 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007308/0.548, allocations: 0.5345 MB / 0.8565 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.548, allocations: 0 / 0.8565 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.5482, allocations: 40.14 kB / 0.8566 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.5482, allocations: 3.594 kB / 0.8566 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.5482, allocations: 4.891 kB / 0.8566 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5482, allocations: 5.406 kB / 0.8566 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5482, allocations: 5.25 kB / 0.8566 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.5489, allocations: 0.4915 MB / 0.8571 GB, free: 27.39 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.5489, allocations: 27.62 kB / 0.8571 GB, free: 27.39 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.549, allocations: 7.281 kB / 0.8571 GB, free: 27.39 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.5491, allocations: 14.61 kB / 0.8571 GB, free: 27.39 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.5492, allocations: 21.94 kB / 0.8571 GB, free: 27.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.5492, allocations: 8 kB / 0.8571 GB, free: 27.39 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001168/0.5493, allocations: 158.7 kB / 0.8573 GB, free: 27.32 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5493, allocations: 0.625 kB / 0.8573 GB, free: 27.32 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003247/0.5497, allocations: 54.53 kB / 0.8573 GB, free: 27.32 MB / 490.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.000111/0.5498, allocations: 111.1 kB / 0.8574 GB, free: 27.23 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005111/0.5503, allocations: 384.2 kB / 0.8578 GB, free: 27.01 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5503, allocations: 0 / 0.8578 GB, free: 27.01 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.5505, allocations: 171.2 kB / 0.858 GB, free: 26.91 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.551, allocations: 72.67 kB / 0.858 GB, free: 26.91 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.5522, allocations: 0.6741 MB / 0.8587 GB, free: 26.63 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.641e-05/0.5523, allocations: 126.6 kB / 0.8588 GB, free: 26.55 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.966e-05/0.5524, allocations: 24.91 kB / 0.8588 GB, free: 26.55 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.548e-05/0.5525, allocations: 21.34 kB / 0.8589 GB, free: 26.54 MB / 490.8 MB Notification: Performance of SimCode: time 5.01e-07/0.5525, allocations: 0.9375 kB / 0.8589 GB, free: 26.54 MB / 490.8 MB Notification: Performance of Templates: time 0.008224/0.5607, allocations: 3.639 MB / 0.8624 GB, free: 26.24 MB / 490.8 MB " [Timeout remaining time 659] 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: 7.736996819963679]