Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_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.002407/0.002407, allocations: 84.44 kB / 19.17 MB, free: 0.7305 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.003362/0.003362, allocations: 170.3 kB / 22.46 MB, free: 2.094 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.692/1.692, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.426/1.426, allocations: 292.9 MB / 0.5392 GB, free: 49.79 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.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6999 GB, free: 8.574 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.324e-05, allocations: 5.234 kB / 0.6999 GB, free: 8.57 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference): time 0.002979/0.003002, allocations: 2.711 MB / 0.7025 GB, free: 5.84 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005929/0.008932, allocations: 6.604 MB / 0.709 GB, free: 15.23 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.009126, allocations: 0 / 0.709 GB, free: 15.23 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.009291, allocations: 51.5 kB / 0.709 GB, free: 15.18 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.009626, allocations: 119 kB / 0.7092 GB, free: 15.06 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.009898, allocations: 71.84 kB / 0.7092 GB, free: 14.99 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.000485/0.01038, allocations: 393.9 kB / 0.7096 GB, free: 14.6 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.01056, allocations: 60.81 kB / 0.7097 GB, free: 14.55 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.01084, allocations: 207.5 kB / 0.7099 GB, free: 14.34 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.01112, allocations: 115.6 kB / 0.71 GB, free: 14.23 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.998e-05/0.01117, allocations: 27.94 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.695e-05/0.01122, allocations: 28 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.0113, allocations: 59.69 kB / 0.7101 GB, free: 14.12 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.01145, allocations: 111.8 kB / 0.7102 GB, free: 14.01 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.01184, allocations: 295.1 kB / 0.7105 GB, free: 13.72 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.01185, allocations: 0 / 0.7105 GB, free: 13.72 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01185, allocations: 3.938 kB / 0.7105 GB, free: 13.71 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.01185, allocations: 0 / 0.7105 GB, free: 13.71 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001171/0.01302, allocations: 0.5925 MB / 0.711 GB, free: 13.07 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.01306, allocations: 8.031 kB / 0.7111 GB, free: 13.06 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.56e-05/0.01315, allocations: 36.73 kB / 0.7111 GB, free: 13.03 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.01348, allocations: 208.7 kB / 0.7113 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.0135, allocations: 20.73 kB / 0.7113 GB, free: 12.78 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.01355, allocations: 24.38 kB / 0.7113 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005395/0.01409, allocations: 288.5 kB / 0.7116 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.01411, allocations: 11.89 kB / 0.7116 GB, free: 12.44 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.01414, allocations: 4 kB / 0.7116 GB, free: 12.44 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.01415, allocations: 12 kB / 0.7116 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005243/0.01467, allocations: 232.4 kB / 0.7119 GB, free: 12.18 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.01595, allocations: 0.6756 MB / 0.7125 GB, free: 11.47 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/0.01658, allocations: 241.3 kB / 0.7127 GB, free: 11.21 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.01685, allocations: 152.4 kB / 0.7129 GB, free: 11.05 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.01687, allocations: 4 kB / 0.7129 GB, free: 11.04 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005425/0.01741, allocations: 358.2 kB / 0.7132 GB, free: 10.64 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.01742, allocations: 0 / 0.7132 GB, free: 10.64 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002191/0.01961, allocations: 1.084 MB / 0.7143 GB, free: 9.469 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.01977, allocations: 221.6 kB / 0.7145 GB, free: 9.203 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.02006, allocations: 237.9 kB / 0.7147 GB, free: 8.965 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.02011, allocations: 37.7 kB / 0.7148 GB, free: 8.922 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.02025, allocations: 160.8 kB / 0.7149 GB, free: 8.758 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.02036, allocations: 111.1 kB / 0.715 GB, free: 8.648 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.02049, allocations: 70.19 kB / 0.7151 GB, free: 8.57 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.02067, allocations: 350.8 kB / 0.7154 GB, free: 8.219 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.02103, allocations: 211.9 kB / 0.7156 GB, free: 7.992 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005205/0.02155, allocations: 311.1 kB / 0.7159 GB, free: 7.629 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/0.02223, allocations: 431.1 kB / 0.7163 GB, free: 7.141 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.02223, allocations: 0 / 0.7163 GB, free: 7.141 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009326/0.02317, allocations: 0.5497 MB / 0.7169 GB, free: 6.547 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.445e-05/0.02325, allocations: 93.09 kB / 0.717 GB, free: 6.438 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.02326, allocations: 0 / 0.717 GB, free: 6.438 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.02328, allocations: 8 kB / 0.717 GB, free: 6.43 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.0236, allocations: 79.83 kB / 0.717 GB, free: 6.352 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.02361, allocations: 7.938 kB / 0.7171 GB, free: 6.344 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.02386, allocations: 28.3 kB / 0.7171 GB, free: 6.316 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.02389, allocations: 15.98 kB / 0.7171 GB, free: 6.301 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0003087/0.0242, allocations: 234.7 kB / 0.7173 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.02425, allocations: 31.81 kB / 0.7174 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.775e-05/0.02433, allocations: 38.89 kB / 0.7174 GB, free: 5.98 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.02434, allocations: 4 kB / 0.7174 GB, free: 5.977 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.02434, allocations: 0 / 0.7174 GB, free: 5.977 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.02435, allocations: 0 / 0.7174 GB, free: 5.977 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.02562, allocations: 0.7639 MB / 0.7181 GB, free: 5.152 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.02562, allocations: 3.984 kB / 0.7181 GB, free: 5.148 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.02591, allocations: 47.97 kB / 0.7182 GB, free: 5.102 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.02592, allocations: 4 kB / 0.7182 GB, free: 5.098 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.02595, allocations: 8 kB / 0.7182 GB, free: 5.09 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.02596, allocations: 3.984 kB / 0.7182 GB, free: 5.086 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.02596, allocations: 3.938 kB / 0.7182 GB, free: 5.082 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.02718, allocations: 0.7269 MB / 0.7189 GB, free: 4.297 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.02723, allocations: 27.8 kB / 0.7189 GB, free: 4.27 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.02729, allocations: 12.06 kB / 0.719 GB, free: 4.258 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.0275, allocations: 15.98 kB / 0.719 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.0276, allocations: 31.89 kB / 0.719 GB, free: 4.211 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.02763, allocations: 12 kB / 0.719 GB, free: 4.199 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002058/0.02783, allocations: 181.2 kB / 0.7192 GB, free: 4.023 MB / 426.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02783, allocations: 0 / 0.7192 GB, free: 4.023 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003764/0.02821, allocations: 84 kB / 0.7193 GB, free: 3.941 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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.0001796/0.02839, allocations: 130.9 kB / 0.7194 GB, free: 3.809 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009056/0.0293, allocations: 0.5609 MB / 0.7199 GB, free: 3.18 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.0293, allocations: 0.6875 kB / 0.7199 GB, free: 3.18 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1872/0.2165, allocations: 303.5 kB / 0.7202 GB, free: 37.14 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007271/0.2173, allocations: 91.2 kB / 0.7203 GB, free: 37.14 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.2187, allocations: 0.7974 MB / 0.7211 GB, free: 36.75 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.2189, allocations: 159.6 kB / 0.7212 GB, free: 36.67 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.219, allocations: 33.73 kB / 0.7213 GB, free: 36.66 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.2191, allocations: 30.39 kB / 0.7213 GB, free: 36.65 MB / 426.8 MB Notification: Performance of SimCode: time 7.11e-07/0.2191, allocations: 0 / 0.7213 GB, free: 36.65 MB / 426.8 MB Notification: Performance of Templates: time 0.01087/0.23, allocations: 4.542 MB / 0.7257 GB, free: 36.23 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.370828645071015]