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.001434/0.001434, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 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.000971/0.000971, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.9415/0.9415, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.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.7185/0.7185, allocations: 312.3 MB / 0.6109 GB, free: 97.1 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: 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.001815/0.001815, allocations: 81.42 kB / 0.7699 GB, free: 19.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1259, allocations: 74 MB / 0.8422 GB, free: 9.879 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference): time 0.002417/0.1283, allocations: 2.282 MB / 0.8444 GB, free: 7.598 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007214/0.129, allocations: 0.5989 MB / 0.845 GB, free: 7.004 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.493e-05/0.1291, allocations: 0.5 kB / 0.845 GB, free: 7.004 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.1292, allocations: 23.72 kB / 0.845 GB, free: 6.98 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.1294, allocations: 80.7 kB / 0.8451 GB, free: 6.902 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.1295, allocations: 48.5 kB / 0.8451 GB, free: 6.855 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.1297, allocations: 259.2 kB / 0.8454 GB, free: 6.602 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1299, allocations: 37.02 kB / 0.8454 GB, free: 6.566 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.191e-05/0.1299, allocations: 99.62 kB / 0.8455 GB, free: 6.469 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.1301, allocations: 96.2 kB / 0.8456 GB, free: 6.375 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.1301, allocations: 16.62 kB / 0.8456 GB, free: 6.359 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.461e-05/0.1301, allocations: 23.94 kB / 0.8456 GB, free: 6.336 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/0.1302, allocations: 40.47 kB / 0.8457 GB, free: 6.297 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.099e-05/0.1303, allocations: 87.59 kB / 0.8457 GB, free: 6.211 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.1304, allocations: 199.7 kB / 0.8459 GB, free: 6.016 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1304, allocations: 0.6562 kB / 0.8459 GB, free: 6.016 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1304, allocations: 0 / 0.8459 GB, free: 6.016 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1304, allocations: 4.625 kB / 0.8459 GB, free: 6.012 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.0009921/0.1314, allocations: 498.4 kB / 0.8464 GB, free: 5.48 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1315, allocations: 11.98 kB / 0.8464 GB, free: 5.469 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.1315, allocations: 29.58 kB / 0.8465 GB, free: 5.441 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.1317, allocations: 179.1 kB / 0.8466 GB, free: 5.238 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1317, allocations: 13.11 kB / 0.8466 GB, free: 5.227 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.1317, allocations: 20.73 kB / 0.8467 GB, free: 5.207 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.132, allocations: 187 kB / 0.8468 GB, free: 5.008 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.132, allocations: 7.984 kB / 0.8468 GB, free: 5 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.132, allocations: 4.75 kB / 0.8468 GB, free: 4.996 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.132, allocations: 4 kB / 0.8468 GB, free: 4.992 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.1322, allocations: 143.4 kB / 0.847 GB, free: 4.848 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.1327, allocations: 482.6 kB / 0.8474 GB, free: 4.344 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.133, allocations: 177.2 kB / 0.8476 GB, free: 4.156 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.1331, allocations: 95.75 kB / 0.8477 GB, free: 4.055 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.1331, allocations: 4 kB / 0.8477 GB, free: 4.051 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.1333, allocations: 229.8 kB / 0.8479 GB, free: 3.797 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 1.233e-06/0.1333, allocations: 0 / 0.8479 GB, free: 3.797 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.0008745/0.1342, allocations: 0.7046 MB / 0.8486 GB, free: 3.031 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.1343, allocations: 137 kB / 0.8487 GB, free: 2.867 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1344, allocations: 215.5 kB / 0.849 GB, free: 2.648 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1344, allocations: 34.27 kB / 0.849 GB, free: 2.609 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.1345, allocations: 132.5 kB / 0.8491 GB, free: 2.477 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.1345, allocations: 71.98 kB / 0.8492 GB, free: 2.406 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.1346, allocations: 58.25 kB / 0.8492 GB, free: 2.344 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.215e-05/0.1347, allocations: 334.8 kB / 0.8496 GB, free: 2.008 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1348, allocations: 145.6 kB / 0.8497 GB, free: 1.848 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.1349, allocations: 228.9 kB / 0.8499 GB, free: 1.582 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.1352, allocations: 277.5 kB / 0.8502 GB, free: 1.273 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1352, allocations: 4.562 kB / 0.8502 GB, free: 1.27 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000337/0.1355, allocations: 389.8 kB / 0.8506 GB, free: 0.8594 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.1356, allocations: 63.91 kB / 0.8506 GB, free: 0.7852 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1356, allocations: 4.625 kB / 0.8506 GB, free: 0.7812 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1356, allocations: 7.984 kB / 0.8506 GB, free: 0.7734 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1357, allocations: 52.44 kB / 0.8507 GB, free: 0.7227 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1357, allocations: 4.719 kB / 0.8507 GB, free: 0.7188 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.1358, allocations: 16.61 kB / 0.8507 GB, free: 0.7031 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.1358, allocations: 12 kB / 0.8507 GB, free: 0.6914 MB / 474.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.0001335/0.1359, allocations: 187.7 kB / 0.8509 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.1359, allocations: 28.42 kB / 0.8509 GB, free: 480 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.136, allocations: 25.95 kB / 0.8509 GB, free: 448 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.136, allocations: 4.5 kB / 0.8509 GB, free: 444 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.136, allocations: 0.7812 kB / 0.8509 GB, free: 444 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.136, allocations: 3.938 kB / 0.8509 GB, free: 440 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.1364, allocations: 0.5302 MB / 0.8515 GB, free: 15.85 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1365, allocations: 0.5625 kB / 0.8515 GB, free: 15.85 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.893e-05/0.1365, allocations: 40.66 kB / 0.8515 GB, free: 15.81 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1366, allocations: 0 / 0.8515 GB, free: 15.81 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1366, allocations: 8.562 kB / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1366, allocations: 3.938 kB / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1366, allocations: 1.312 kB / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.137, allocations: 0.4937 MB / 0.852 GB, free: 15.28 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.137, allocations: 23.89 kB / 0.852 GB, free: 15.25 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.137, allocations: 8 kB / 0.852 GB, free: 15.25 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.1371, allocations: 17.95 kB / 0.852 GB, free: 15.23 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.1372, allocations: 19.97 kB / 0.8521 GB, free: 15.21 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1372, allocations: 4 kB / 0.8521 GB, free: 15.21 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.679e-05/0.1373, allocations: 160.4 kB / 0.8522 GB, free: 15.05 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1373, allocations: 4.656 kB / 0.8522 GB, free: 15.05 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001842/0.1375, allocations: 56 kB / 0.8523 GB, free: 14.99 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 8.505e-05/0.1375, allocations: 114.5 kB / 0.8524 GB, free: 14.87 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.1379, allocations: 384.8 kB / 0.8528 GB, free: 14.45 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1379, allocations: 0.9062 kB / 0.8528 GB, free: 14.45 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.138, allocations: 165 kB / 0.8529 GB, free: 14.27 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.1383, allocations: 67.94 kB / 0.853 GB, free: 14.21 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1393, allocations: 0.7038 MB / 0.8537 GB, free: 13.55 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.465e-05/0.1394, allocations: 129.6 kB / 0.8538 GB, free: 13.41 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.1395, allocations: 19.44 kB / 0.8538 GB, free: 13.39 MB / 490.8 MB Notification: Performance of SimCode: time 4.61e-07/0.1395, allocations: 0 / 0.8538 GB, free: 13.39 MB / 490.8 MB Notification: Performance of Templates: time 0.2372/0.3766, allocations: 2.928 MB / 0.8567 GB, free: 28.83 MB / 490.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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX27_Ganaxolone.Ganaxolone_Zolkowska2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.036985183134675]