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.0006633/0.0006633, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008481/0.001511, allocations: 455.9 kB / 10.35 MB, free: 348 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.0006996/0.0006996, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008669/0.001566, allocations: 475.7 kB / 11.7 MB, free: 2.465 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 0.9443/0.9443, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1009/1.045, 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.7816/0.7816, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03351/0.8151, allocations: 21.04 MB / 0.5432 GB, free: 31.72 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.713e-06/1.713e-06, allocations: 0 / 0.5446 GB, free: 30.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.434e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference): time 0.003231/0.003245, allocations: 2.496 MB / 0.547 GB, free: 27.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.004369, allocations: 0.6271 MB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.555e-05/0.004464, allocations: 0 / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.384e-05/0.004528, allocations: 27.72 kB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.004676, allocations: 87.25 kB / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.004811, allocations: 51.88 kB / 0.5478 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.00503, allocations: 270.5 kB / 0.5481 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.005147, allocations: 34.55 kB / 0.5481 GB, free: 26.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.005352, allocations: 180.2 kB / 0.5483 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.005548, allocations: 83.73 kB / 0.5484 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.005581, allocations: 16 kB / 0.5484 GB, free: 26.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.846e-05/0.005609, allocations: 16 kB / 0.5484 GB, free: 26.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.005642, allocations: 27.88 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.898e-05/0.005711, allocations: 67.86 kB / 0.5485 GB, free: 26.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.005902, allocations: 139.5 kB / 0.5486 GB, free: 26.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.831e-05/0.00592, allocations: 0 / 0.5486 GB, free: 26.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005921, allocations: 0 / 0.5486 GB, free: 26.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.434e-05/0.005945, allocations: 3.938 kB / 0.5486 GB, free: 26.22 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.0008701/0.006815, allocations: 0.4976 MB / 0.5491 GB, free: 25.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.006857, allocations: 11.89 kB / 0.5491 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.00692, allocations: 24.92 kB / 0.5491 GB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.007104, allocations: 175.1 kB / 0.5493 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.007124, allocations: 12.61 kB / 0.5493 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.007151, allocations: 20.31 kB / 0.5493 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.007321, allocations: 163.4 kB / 0.5495 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.007332, allocations: 0 / 0.5495 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.007342, allocations: 0 / 0.5495 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.007349, allocations: 4 kB / 0.5495 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.614e-05/0.007425, allocations: 76.7 kB / 0.5496 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/0.007948, allocations: 368.8 kB / 0.5499 GB, free: 24.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.00819, allocations: 116.2 kB / 0.55 GB, free: 24.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.00825, allocations: 58.53 kB / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.00826, allocations: 4 kB / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.008417, allocations: 188.4 kB / 0.5503 GB, free: 24.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.008419, allocations: 0 / 0.5503 GB, free: 24.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006764/0.009095, allocations: 0.5238 MB / 0.5508 GB, free: 23.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.009138, allocations: 162.2 kB / 0.5509 GB, free: 23.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/0.009234, allocations: 210 kB / 0.5511 GB, free: 23.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.009246, allocations: 29.7 kB / 0.5512 GB, free: 23.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.009282, allocations: 120.4 kB / 0.5513 GB, free: 23.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.009315, allocations: 63.47 kB / 0.5513 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.009364, allocations: 55.17 kB / 0.5514 GB, free: 23.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.009403, allocations: 334.8 kB / 0.5517 GB, free: 22.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/0.009457, allocations: 101 kB / 0.5518 GB, free: 22.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.599e-05/0.009523, allocations: 179.1 kB / 0.552 GB, free: 22.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.009626, allocations: 217.6 kB / 0.5522 GB, free: 22.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.009627, allocations: 0 / 0.5522 GB, free: 22.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000152/0.009779, allocations: 264.4 kB / 0.5524 GB, free: 21.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.009819, allocations: 66.06 kB / 0.5525 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.009825, allocations: 2.656 kB / 0.5525 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.009836, allocations: 4 kB / 0.5525 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.009988, allocations: 63.89 kB / 0.5526 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.009992, allocations: 4 kB / 0.5526 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.661e-05/0.01007, allocations: 23.86 kB / 0.5526 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.01008, allocations: 12 kB / 0.5526 GB, free: 21.7 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.0001009/0.01018, allocations: 173.6 kB / 0.5528 GB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.0102, allocations: 19.98 kB / 0.5528 GB, free: 21.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.01023, allocations: 25.95 kB / 0.5528 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.01023, allocations: 0 / 0.5528 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.01023, allocations: 0 / 0.5528 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.01024, allocations: 4 kB / 0.5528 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.01047, allocations: 374.2 kB / 0.5532 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01047, allocations: 3.938 kB / 0.5532 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.01058, allocations: 51.91 kB / 0.5532 GB, free: 21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.0106, allocations: 19.84 kB / 0.5532 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.01061, allocations: 4 kB / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.01062, allocations: 0 / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.01062, allocations: 4 kB / 0.5533 GB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.01062, allocations: 7.359 kB / 0.5533 GB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.01081, allocations: 343.9 kB / 0.5536 GB, free: 20.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.01083, allocations: 11.98 kB / 0.5536 GB, free: 20.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.0109, allocations: 12 kB / 0.5536 GB, free: 20.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.01095, allocations: 19.95 kB / 0.5536 GB, free: 20.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.01096, allocations: 11.94 kB / 0.5536 GB, free: 20.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.92e-05/0.011, allocations: 65.95 kB / 0.5537 GB, free: 20.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.011, allocations: 3.938 kB / 0.5537 GB, free: 20.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.01116, allocations: 52 kB / 0.5538 GB, free: 20.43 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 6.563e-05/0.01122, allocations: 88.42 kB / 0.5538 GB, free: 20.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.01139, allocations: 316.9 kB / 0.5541 GB, free: 19.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.0114, allocations: 4.188 kB / 0.5542 GB, free: 19.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.01147, allocations: 153.9 kB / 0.5543 GB, free: 19.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.0117, allocations: 85.41 kB / 0.5544 GB, free: 19.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/0.0173, allocations: 0.5616 MB / 0.5549 GB, free: 19.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.279e-05/0.01734, allocations: 80.27 kB / 0.555 GB, free: 19.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.076e-05/0.01743, allocations: 29.97 kB / 0.555 GB, free: 19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.01755, allocations: 115.3 kB / 0.5551 GB, free: 18.89 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01755, allocations: 0 / 0.5551 GB, free: 18.89 MB / 410.7 MB Notification: Performance of Templates: time 0.004421/0.02197, allocations: 3.785 MB / 0.5588 GB, free: 15.21 MB / 410.7 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.4551242161542177]