Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.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.001724/0.001724, allocations: 84.5 kB / 19.94 MB, free: 4.598 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.002303/0.002303, allocations: 173.2 kB / 23.21 MB, free: 1.324 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.9876/0.9876, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.6123/0.6123, allocations: 291.2 MB / 0.5382 GB, free: 51.35 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.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6974 GB, free: 10.29 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.117e-05, allocations: 5.234 kB / 0.6974 GB, free: 10.29 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine): time 0.003514/0.003545, allocations: 2.719 MB / 0.7001 GB, free: 7.547 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00554/0.009085, allocations: 6.608 MB / 0.7065 GB, free: 0.9297 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.009236, allocations: 4 kB / 0.7065 GB, free: 0.9258 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.009388, allocations: 39.58 kB / 0.7065 GB, free: 0.8867 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.009665, allocations: 123 kB / 0.7067 GB, free: 0.7656 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.009902, allocations: 79.77 kB / 0.7067 GB, free: 0.6875 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.0102, allocations: 385.9 kB / 0.7071 GB, free: 316 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.01036, allocations: 60.88 kB / 0.7072 GB, free: 260 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.01054, allocations: 203.5 kB / 0.7074 GB, free: 56 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.01087, allocations: 119.7 kB / 0.7075 GB, free: 15.93 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.01091, allocations: 24 kB / 0.7075 GB, free: 15.91 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.424e-05/0.01096, allocations: 28 kB / 0.7075 GB, free: 15.88 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.011, allocations: 55.75 kB / 0.7076 GB, free: 15.83 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.01112, allocations: 115.7 kB / 0.7077 GB, free: 15.71 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.01143, allocations: 295 kB / 0.708 GB, free: 15.43 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.01143, allocations: 4 kB / 0.708 GB, free: 15.43 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01143, allocations: 0 / 0.708 GB, free: 15.43 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.01144, allocations: 0 / 0.708 GB, free: 15.43 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.0008934/0.01233, allocations: 0.5963 MB / 0.7086 GB, free: 14.78 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.01237, allocations: 8.031 kB / 0.7086 GB, free: 14.77 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.434e-05/0.01245, allocations: 36.75 kB / 0.7086 GB, free: 14.73 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.0127, allocations: 216.7 kB / 0.7088 GB, free: 14.5 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.01273, allocations: 16.75 kB / 0.7088 GB, free: 14.48 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.01277, allocations: 20.38 kB / 0.7088 GB, free: 14.46 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.01321, allocations: 292.5 kB / 0.7091 GB, free: 14.16 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.01323, allocations: 7.938 kB / 0.7091 GB, free: 14.15 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.01326, allocations: 12 kB / 0.7091 GB, free: 14.14 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.01327, allocations: 4 kB / 0.7091 GB, free: 14.13 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.01365, allocations: 236.4 kB / 0.7094 GB, free: 13.89 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.01466, allocations: 0.6679 MB / 0.71 GB, free: 13.18 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.01516, allocations: 246.6 kB / 0.7103 GB, free: 12.91 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.01535, allocations: 152.4 kB / 0.7104 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.01536, allocations: 4 kB / 0.7104 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003877/0.01575, allocations: 357.5 kB / 0.7107 GB, free: 12.35 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.215e-06/0.01575, allocations: 3.938 kB / 0.7107 GB, free: 12.34 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001656/0.01741, allocations: 1.087 MB / 0.7118 GB, free: 11.17 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.01752, allocations: 217.6 kB / 0.712 GB, free: 10.91 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.01776, allocations: 245.9 kB / 0.7123 GB, free: 10.66 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.01778, allocations: 33.7 kB / 0.7123 GB, free: 10.62 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.01787, allocations: 156.8 kB / 0.7124 GB, free: 10.46 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.01793, allocations: 119 kB / 0.7125 GB, free: 10.34 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.381e-05/0.018, allocations: 70.2 kB / 0.7126 GB, free: 10.27 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.0181, allocations: 346.7 kB / 0.7129 GB, free: 9.918 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.0184, allocations: 211.9 kB / 0.7131 GB, free: 9.691 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.01873, allocations: 315.2 kB / 0.7134 GB, free: 9.324 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.01924, allocations: 435 kB / 0.7139 GB, free: 8.832 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01924, allocations: 0 / 0.7139 GB, free: 8.832 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006867/0.01993, allocations: 0.5499 MB / 0.7144 GB, free: 8.238 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/0.01998, allocations: 94.03 kB / 0.7145 GB, free: 8.129 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.01999, allocations: 4 kB / 0.7145 GB, free: 8.125 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.02, allocations: 4 kB / 0.7145 GB, free: 8.121 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.02025, allocations: 79.83 kB / 0.7146 GB, free: 8.043 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.02026, allocations: 4 kB / 0.7146 GB, free: 8.039 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.02042, allocations: 23.98 kB / 0.7146 GB, free: 8.016 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.02044, allocations: 16 kB / 0.7146 GB, free: 8 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.0001646/0.0206, allocations: 227.2 kB / 0.7148 GB, free: 7.754 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.02064, allocations: 31.81 kB / 0.7149 GB, free: 7.723 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.02069, allocations: 30.95 kB / 0.7149 GB, free: 7.691 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.02069, allocations: 4 kB / 0.7149 GB, free: 7.688 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.0207, allocations: 0 / 0.7149 GB, free: 7.688 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.0207, allocations: 0 / 0.7149 GB, free: 7.688 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000909/0.02161, allocations: 0.76 MB / 0.7156 GB, free: 6.867 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.02161, allocations: 7.938 kB / 0.7156 GB, free: 6.859 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.02184, allocations: 59.89 kB / 0.7157 GB, free: 6.801 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.02184, allocations: 0 / 0.7157 GB, free: 6.801 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.02187, allocations: 8 kB / 0.7157 GB, free: 6.793 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.02187, allocations: 4 kB / 0.7157 GB, free: 6.789 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.02187, allocations: 3.938 kB / 0.7157 GB, free: 6.785 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007919/0.02267, allocations: 0.7229 MB / 0.7164 GB, free: 6.004 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.0227, allocations: 31.88 kB / 0.7165 GB, free: 5.973 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.02273, allocations: 12 kB / 0.7165 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.02287, allocations: 20.09 kB / 0.7165 GB, free: 5.941 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/0.02296, allocations: 31.89 kB / 0.7165 GB, free: 5.91 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.02298, allocations: 16 kB / 0.7165 GB, free: 5.895 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000156/0.02314, allocations: 177.2 kB / 0.7167 GB, free: 5.723 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.02314, allocations: 3.938 kB / 0.7167 GB, free: 5.719 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003743/0.02351, allocations: 87.98 kB / 0.7168 GB, free: 5.633 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.0001183/0.02363, allocations: 130.9 kB / 0.7169 GB, free: 5.5 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006647/0.0243, allocations: 0.557 MB / 0.7175 GB, free: 4.875 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.0243, allocations: 0 / 0.7175 GB, free: 4.875 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004386/0.02474, allocations: 309.8 kB / 0.7177 GB, free: 4.539 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.02523, allocations: 87.86 kB / 0.7178 GB, free: 4.457 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.02645, allocations: 0.8145 MB / 0.7186 GB, free: 3.602 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.02657, allocations: 164.3 kB / 0.7188 GB, free: 3.418 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.495e-05/0.02666, allocations: 28.5 kB / 0.7188 GB, free: 3.391 MB / 426.8 MB Notification: Performance of SimCode: time 6.61e-07/0.02666, allocations: 0 / 0.7188 GB, free: 3.391 MB / 426.8 MB Notification: Performance of Templates: time 0.1616/0.1883, allocations: 4.018 MB / 0.7227 GB, free: 37.02 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.7429533721879125]