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.001778/0.001778, allocations: 88.44 kB / 19.17 MB, free: 0.7383 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.001989/0.001989, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.598/1.598, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.32/1.32, allocations: 293 MB / 0.5392 GB, free: 49.8 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: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.6999 GB, free: 8.605 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.76e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.598 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference): time 0.002811/0.002839, allocations: 2.3 MB / 0.7022 GB, free: 6.281 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009258/0.003765, allocations: 0.5923 MB / 0.7027 GB, free: 5.688 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.82e-05/0.003863, allocations: 0 / 0.7027 GB, free: 5.688 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.003982, allocations: 27.72 kB / 0.7028 GB, free: 5.66 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.004178, allocations: 79.33 kB / 0.7028 GB, free: 5.582 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.004372, allocations: 47.88 kB / 0.7029 GB, free: 5.535 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.004627, allocations: 270.6 kB / 0.7031 GB, free: 5.27 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.004765, allocations: 36.52 kB / 0.7032 GB, free: 5.238 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.004914, allocations: 143.6 kB / 0.7033 GB, free: 5.098 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.005098, allocations: 83.78 kB / 0.7034 GB, free: 5.016 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.436e-05/0.005132, allocations: 16 kB / 0.7034 GB, free: 5 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.998e-05/0.005162, allocations: 16 kB / 0.7034 GB, free: 4.984 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.005196, allocations: 43.77 kB / 0.7035 GB, free: 4.941 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.964e-05/0.005275, allocations: 79.83 kB / 0.7035 GB, free: 4.863 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.005491, allocations: 195.4 kB / 0.7037 GB, free: 4.672 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.005494, allocations: 0 / 0.7037 GB, free: 4.672 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005496, allocations: 0 / 0.7037 GB, free: 4.672 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.005501, allocations: 0 / 0.7037 GB, free: 4.672 MB / 410.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.0007755/0.006276, allocations: 0.4929 MB / 0.7042 GB, free: 4.133 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.006309, allocations: 8.031 kB / 0.7042 GB, free: 4.125 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.006379, allocations: 24.8 kB / 0.7042 GB, free: 4.102 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.006574, allocations: 182.4 kB / 0.7044 GB, free: 3.895 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.006591, allocations: 8.609 kB / 0.7044 GB, free: 3.887 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.006625, allocations: 12.38 kB / 0.7044 GB, free: 3.875 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.006955, allocations: 206.2 kB / 0.7046 GB, free: 3.664 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.006971, allocations: 7.953 kB / 0.7046 GB, free: 3.656 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.006988, allocations: 8 kB / 0.7046 GB, free: 3.648 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.006993, allocations: 4 kB / 0.7046 GB, free: 3.645 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.007336, allocations: 150.2 kB / 0.7048 GB, free: 3.492 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/0.00801, allocations: 481.5 kB / 0.7052 GB, free: 2.988 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.008491, allocations: 172.1 kB / 0.7054 GB, free: 2.805 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.008658, allocations: 98.66 kB / 0.7055 GB, free: 2.699 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.008674, allocations: 7.938 kB / 0.7055 GB, free: 2.691 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002984/0.008973, allocations: 228.4 kB / 0.7057 GB, free: 2.438 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.008974, allocations: 0 / 0.7057 GB, free: 2.438 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001331/0.0103, allocations: 0.6984 MB / 0.7064 GB, free: 1.676 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.01035, allocations: 140.5 kB / 0.7065 GB, free: 1.508 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.01052, allocations: 215 kB / 0.7068 GB, free: 1.289 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.01054, allocations: 33.7 kB / 0.7068 GB, free: 1.25 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.0106, allocations: 132.5 kB / 0.7069 GB, free: 1.117 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.01064, allocations: 71.42 kB / 0.707 GB, free: 1.047 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.01072, allocations: 49.7 kB / 0.707 GB, free: 0.9922 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.01077, allocations: 334.8 kB / 0.7073 GB, free: 0.6562 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.01098, allocations: 149 kB / 0.7075 GB, free: 0.4922 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.01121, allocations: 225.3 kB / 0.7077 GB, free: 232 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.01163, allocations: 276.8 kB / 0.708 GB, free: 15.91 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01164, allocations: 4.031 kB / 0.708 GB, free: 15.91 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001007/0.01264, allocations: 394.2 kB / 0.7083 GB, free: 15.5 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.877e-05/0.01271, allocations: 67.33 kB / 0.7084 GB, free: 15.42 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01272, allocations: 0 / 0.7084 GB, free: 15.42 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.01274, allocations: 7.984 kB / 0.7084 GB, free: 15.41 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.01298, allocations: 60.06 kB / 0.7085 GB, free: 15.35 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.01299, allocations: 4 kB / 0.7085 GB, free: 15.35 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.0132, allocations: 15.98 kB / 0.7085 GB, free: 15.33 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.01322, allocations: 12 kB / 0.7085 GB, free: 15.32 MB / 426.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.0002431/0.01347, allocations: 172.3 kB / 0.7087 GB, free: 15.14 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.0135, allocations: 15.91 kB / 0.7087 GB, free: 15.12 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.63e-05/0.01357, allocations: 25.95 kB / 0.7087 GB, free: 15.09 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.01357, allocations: 11.94 kB / 0.7087 GB, free: 15.08 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.01358, allocations: 3.938 kB / 0.7087 GB, free: 15.08 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01359, allocations: 0 / 0.7087 GB, free: 15.08 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009736/0.01456, allocations: 0.5391 MB / 0.7093 GB, free: 14.49 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01456, allocations: 0 / 0.7093 GB, free: 14.49 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.01477, allocations: 39.91 kB / 0.7093 GB, free: 14.45 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01478, allocations: 0 / 0.7093 GB, free: 14.45 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.0148, allocations: 12 kB / 0.7093 GB, free: 14.44 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.0148, allocations: 0 / 0.7093 GB, free: 14.44 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.01481, allocations: 7.984 kB / 0.7093 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009215/0.01573, allocations: 0.489 MB / 0.7098 GB, free: 13.91 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.01577, allocations: 19.89 kB / 0.7098 GB, free: 13.89 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.01582, allocations: 8 kB / 0.7098 GB, free: 13.88 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.01602, allocations: 11.98 kB / 0.7098 GB, free: 13.87 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/0.01612, allocations: 23.97 kB / 0.7098 GB, free: 13.85 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.01614, allocations: 7.984 kB / 0.7099 GB, free: 13.84 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001877/0.01632, allocations: 160.4 kB / 0.71 GB, free: 13.68 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01632, allocations: 0 / 0.71 GB, free: 13.68 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003177/0.01664, allocations: 56 kB / 0.7101 GB, free: 13.63 MB / 426.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.0001647/0.01681, allocations: 120.1 kB / 0.7102 GB, free: 13.51 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007046/0.01751, allocations: 382.4 kB / 0.7105 GB, free: 13.09 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01751, allocations: 448 / 0.7105 GB, free: 13.09 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.01782, allocations: 177 kB / 0.7107 GB, free: 12.9 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.0183, allocations: 67.34 kB / 0.7108 GB, free: 12.84 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.01957, allocations: 0.582 MB / 0.7113 GB, free: 12.23 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.01972, allocations: 129.6 kB / 0.7115 GB, free: 12.08 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.01983, allocations: 21.94 kB / 0.7115 GB, free: 12.05 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.01989, allocations: 20.5 kB / 0.7115 GB, free: 12.04 MB / 426.8 MB Notification: Performance of SimCode: time 5.41e-07/0.01989, allocations: 0 / 0.7115 GB, free: 12.04 MB / 426.8 MB Notification: Performance of Templates: time 0.008521/0.02841, allocations: 3.333 MB / 0.7148 GB, free: 8.855 MB / 426.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: 6.794443619903177]