Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital.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.002058/0.002058, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002326/0.002326, allocations: 225.1 kB / 22.25 MB, free: 3.574 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 1.747/1.747, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.523/1.523, allocations: 316.7 MB / 0.6144 GB, free: 93.12 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.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital") [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.003971/0.003971, allocations: 81.19 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1483, allocations: 73.99 MB / 0.8473 GB, free: 4.914 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital): time 0.004515/0.1528, allocations: 2.307 MB / 0.8495 GB, free: 2.609 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3683/0.5211, allocations: 6.519 MB / 0.8559 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003205/0.5214, allocations: 3.781 kB / 0.8559 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.5216, allocations: 25.33 kB / 0.8559 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.5219, allocations: 87.3 kB / 0.856 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.5222, allocations: 52.17 kB / 0.856 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.5225, allocations: 253 kB / 0.8563 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.5227, allocations: 39.22 kB / 0.8563 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.5229, allocations: 100.5 kB / 0.8564 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.5232, allocations: 96.44 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.5232, allocations: 19.31 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.862e-05/0.5233, allocations: 17.22 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.5233, allocations: 35.39 kB / 0.8566 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.5235, allocations: 99.77 kB / 0.8567 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.5238, allocations: 197.1 kB / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.5238, allocations: 1.969 kB / 0.8569 GB, free: 21.82 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5238, allocations: 1.781 kB / 0.8569 GB, free: 21.82 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.5238, allocations: 3.562 kB / 0.8569 GB, free: 21.82 MB / 490.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.001049/0.5249, allocations: 491.7 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.5249, allocations: 9.656 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.525, allocations: 27.42 kB / 0.8574 GB, free: 21.41 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.5253, allocations: 190 kB / 0.8575 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.5253, allocations: 9.641 kB / 0.8576 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.5253, allocations: 19.33 kB / 0.8576 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.5257, allocations: 192.1 kB / 0.8578 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.5257, allocations: 0 / 0.8578 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.5257, allocations: 8.219 kB / 0.8578 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.5258, allocations: 4.156 kB / 0.8578 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.5261, allocations: 144.2 kB / 0.8579 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007744/0.5269, allocations: 482.5 kB / 0.8584 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.5274, allocations: 178.1 kB / 0.8585 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.5276, allocations: 98.58 kB / 0.8586 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.5276, allocations: 0.5 kB / 0.8586 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003601/0.528, allocations: 225.5 kB / 0.8588 GB, free: 20.6 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.528, allocations: 0 / 0.8588 GB, free: 20.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001498/0.5295, allocations: 0.7057 MB / 0.8595 GB, free: 20.24 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.5296, allocations: 138.1 kB / 0.8597 GB, free: 20.08 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.5298, allocations: 213.4 kB / 0.8599 GB, free: 19.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.5298, allocations: 35.92 kB / 0.8599 GB, free: 19.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/0.5299, allocations: 132 kB / 0.86 GB, free: 19.85 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.53, allocations: 73.62 kB / 0.8601 GB, free: 19.81 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.431e-05/0.53, allocations: 54.08 kB / 0.8601 GB, free: 19.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.5301, allocations: 333.7 kB / 0.8605 GB, free: 19.47 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.5304, allocations: 146.2 kB / 0.8606 GB, free: 19.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.5306, allocations: 223.3 kB / 0.8608 GB, free: 19.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.531, allocations: 287.4 kB / 0.8611 GB, free: 19.06 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.531, allocations: 1.875 kB / 0.8611 GB, free: 19.06 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005582/0.5316, allocations: 385.6 kB / 0.8615 GB, free: 18.89 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.5316, allocations: 59.19 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.5316, allocations: 6.719 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.5316, allocations: 6.344 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.5319, allocations: 58.58 kB / 0.8616 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.5319, allocations: 3.719 kB / 0.8616 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.532, allocations: 22.56 kB / 0.8616 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.5321, allocations: 13.05 kB / 0.8616 GB, free: 18.81 MB / 490.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.0002042/0.5323, allocations: 178.5 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.5323, allocations: 26.77 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-05/0.5324, allocations: 27.27 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.5324, allocations: 2.812 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5324, allocations: 0 / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.5324, allocations: 2.219 kB / 0.8619 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007213/0.5331, allocations: 0.538 MB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.5331, allocations: 0.7031 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.5333, allocations: 43.7 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5333, allocations: 0.625 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.5333, allocations: 11.41 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.5333, allocations: 3.938 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5333, allocations: 4.219 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.5341, allocations: 497.5 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.5341, allocations: 21.92 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.5341, allocations: 9.812 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.5343, allocations: 12.78 kB / 0.863 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/0.5344, allocations: 26.61 kB / 0.863 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.5344, allocations: 7.969 kB / 0.863 GB, free: 18.06 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001553/0.5346, allocations: 159.3 kB / 0.8631 GB, free: 17.98 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5346, allocations: 0 / 0.8631 GB, free: 17.98 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003238/0.5349, allocations: 56.03 kB / 0.8632 GB, free: 17.98 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 0.0001482/0.5351, allocations: 119.3 kB / 0.8633 GB, free: 17.89 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005863/0.5356, allocations: 376.1 kB / 0.8637 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5356, allocations: 2.062 kB / 0.8637 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.5359, allocations: 173.8 kB / 0.8638 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.5364, allocations: 68.28 kB / 0.8639 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.5378, allocations: 0.6858 MB / 0.8646 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.538, allocations: 122 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.5381, allocations: 25.5 kB / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.5382, allocations: 21.02 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of SimCode: time 1.152e-06/0.5382, allocations: 0 / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of Templates: time 0.009638/0.5478, allocations: 3.637 MB / 0.8683 GB, free: 16.82 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.4264469249174]