Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.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.001114/0.001114, allocations: 92.5 kB / 19.94 MB, free: 4.605 MB / 18.57 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.001008/0.001008, allocations: 165.8 kB / 23.21 MB, free: 1.34 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 0.8831/0.8831, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.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.6982/0.6982, allocations: 291.2 MB / 0.5382 GB, free: 51.82 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.N03AX14_Levetiracetam.Levetiracetam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.6974 GB, free: 10.33 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.834e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam): time 0.002558/0.002586, allocations: 3.024 MB / 0.7004 GB, free: 7.281 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004039/0.006625, allocations: 6.643 MB / 0.7068 GB, free: 0.6289 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.006785, allocations: 4 kB / 0.7068 GB, free: 0.625 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.006912, allocations: 43.56 kB / 0.7069 GB, free: 0.582 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.007155, allocations: 130.9 kB / 0.707 GB, free: 464 kB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.007391, allocations: 87.78 kB / 0.7071 GB, free: 376 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.007662, allocations: 429.8 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.007811, allocations: 66.06 kB / 0.7076 GB, free: 15.88 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.008001, allocations: 223.5 kB / 0.7078 GB, free: 15.66 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.008209, allocations: 127.6 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.008247, allocations: 32 kB / 0.7079 GB, free: 15.51 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.287e-05/0.00828, allocations: 32 kB / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.008322, allocations: 67.64 kB / 0.708 GB, free: 15.41 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.584e-05/0.008418, allocations: 127.7 kB / 0.7082 GB, free: 15.29 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.008702, allocations: 351.1 kB / 0.7085 GB, free: 14.94 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.008706, allocations: 0 / 0.7085 GB, free: 14.94 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.583e-06/0.008708, allocations: 4 kB / 0.7085 GB, free: 14.94 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.008713, allocations: 7.938 kB / 0.7085 GB, free: 14.93 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000756/0.009469, allocations: 0.6037 MB / 0.7091 GB, free: 14.28 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.009509, allocations: 8.031 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.186e-05/0.009571, allocations: 40.7 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.009802, allocations: 224.7 kB / 0.7093 GB, free: 13.99 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.009822, allocations: 16.88 kB / 0.7094 GB, free: 13.97 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.00986, allocations: 24.33 kB / 0.7094 GB, free: 13.95 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.01023, allocations: 310.2 kB / 0.7097 GB, free: 13.62 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.01024, allocations: 3.938 kB / 0.7097 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.01026, allocations: 11.98 kB / 0.7097 GB, free: 13.6 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.01027, allocations: 4 kB / 0.7097 GB, free: 13.6 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.01058, allocations: 248.2 kB / 0.7099 GB, free: 13.34 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/0.01143, allocations: 0.6504 MB / 0.7106 GB, free: 12.66 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.01186, allocations: 278 kB / 0.7108 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.01203, allocations: 160.4 kB / 0.711 GB, free: 12.19 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.01204, allocations: 4 kB / 0.711 GB, free: 12.19 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003992/0.01244, allocations: 363.4 kB / 0.7113 GB, free: 11.78 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.01244, allocations: 0 / 0.7113 GB, free: 11.78 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001454/0.01389, allocations: 1.139 MB / 0.7125 GB, free: 10.55 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/0.01398, allocations: 225.6 kB / 0.7127 GB, free: 10.28 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.0143, allocations: 249.9 kB / 0.7129 GB, free: 10.03 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.01432, allocations: 37.7 kB / 0.7129 GB, free: 9.984 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.282e-05/0.01441, allocations: 160.8 kB / 0.7131 GB, free: 9.82 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.01448, allocations: 115.1 kB / 0.7132 GB, free: 9.707 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.01459, allocations: 74.19 kB / 0.7133 GB, free: 9.629 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.0147, allocations: 342.8 kB / 0.7136 GB, free: 9.285 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.01496, allocations: 227.8 kB / 0.7138 GB, free: 9.043 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.01519, allocations: 330.8 kB / 0.7141 GB, free: 8.652 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.01555, allocations: 454.2 kB / 0.7146 GB, free: 8.141 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01556, allocations: 0 / 0.7146 GB, free: 8.141 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005213/0.01608, allocations: 0.5807 MB / 0.7151 GB, free: 7.516 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/0.01612, allocations: 89.11 kB / 0.7152 GB, free: 7.41 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.01613, allocations: 4 kB / 0.7152 GB, free: 7.406 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.01615, allocations: 11.92 kB / 0.7152 GB, free: 7.395 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.01633, allocations: 80.23 kB / 0.7153 GB, free: 7.316 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.01633, allocations: 4 kB / 0.7153 GB, free: 7.312 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.01645, allocations: 23.98 kB / 0.7153 GB, free: 7.289 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.01647, allocations: 20 kB / 0.7154 GB, free: 7.27 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.0002078/0.01668, allocations: 231.7 kB / 0.7156 GB, free: 7.023 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.01671, allocations: 35.8 kB / 0.7156 GB, free: 6.988 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.01676, allocations: 34.97 kB / 0.7156 GB, free: 6.953 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01676, allocations: 4 kB / 0.7157 GB, free: 6.949 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.01677, allocations: 3.984 kB / 0.7157 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01677, allocations: 0 / 0.7157 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.01779, allocations: 0.8173 MB / 0.7165 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.01779, allocations: 0 / 0.7165 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.01795, allocations: 55.95 kB / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01796, allocations: 0 / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.01798, allocations: 16 kB / 0.7165 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.01798, allocations: 8 kB / 0.7165 GB, free: 5.992 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01798, allocations: 7.875 kB / 0.7165 GB, free: 5.984 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006514/0.01863, allocations: 0.7639 MB / 0.7173 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.939e-05/0.01871, allocations: 51.78 kB / 0.7173 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.01875, allocations: 19.98 kB / 0.7174 GB, free: 5.098 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.01886, allocations: 15.98 kB / 0.7174 GB, free: 5.082 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.01894, allocations: 31.89 kB / 0.7174 GB, free: 5.051 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.01896, allocations: 19.94 kB / 0.7174 GB, free: 5.031 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001191/0.01908, allocations: 185.2 kB / 0.7176 GB, free: 4.852 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01908, allocations: 0 / 0.7176 GB, free: 4.852 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002394/0.01931, allocations: 88 kB / 0.7177 GB, free: 4.766 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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.0001175/0.01943, allocations: 126.7 kB / 0.7178 GB, free: 4.637 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000499/0.01993, allocations: 0.5923 MB / 0.7184 GB, free: 3.977 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01993, allocations: 0 / 0.7184 GB, free: 3.977 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.02015, allocations: 314.1 kB / 0.7187 GB, free: 3.633 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.02051, allocations: 80.81 kB / 0.7188 GB, free: 3.551 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.02158, allocations: 0.8907 MB / 0.7196 GB, free: 2.617 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.02168, allocations: 164.2 kB / 0.7198 GB, free: 2.434 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.02175, allocations: 32.48 kB / 0.7198 GB, free: 2.402 MB / 426.8 MB Notification: Performance of SimCode: time 8.52e-07/0.02175, allocations: 0 / 0.7198 GB, free: 2.402 MB / 426.8 MB Notification: Performance of Templates: time 0.1752/0.1969, allocations: 4.377 MB / 0.7241 GB, free: 36.22 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.649493164382875]