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.001866/0.001866, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002048/0.002048, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.603/1.603, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.547/1.547, allocations: 292.9 MB / 0.5392 GB, free: 49.81 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.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.182e-06/1.182e-06, allocations: 0 / 0.6999 GB, free: 8.504 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.869e-05, allocations: 7.625 kB / 0.6999 GB, free: 8.496 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine): time 0.003101/0.00313, allocations: 2.717 MB / 0.7026 GB, free: 5.758 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00589/0.00902, allocations: 6.611 MB / 0.709 GB, free: 15.14 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.009199, allocations: 4 kB / 0.709 GB, free: 15.13 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.009385, allocations: 35.58 kB / 0.7091 GB, free: 15.1 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.009747, allocations: 134.9 kB / 0.7092 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.01003, allocations: 67.84 kB / 0.7093 GB, free: 14.9 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.01054, allocations: 393.8 kB / 0.7096 GB, free: 14.51 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.01074, allocations: 56.83 kB / 0.7097 GB, free: 14.46 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.01105, allocations: 203.6 kB / 0.7099 GB, free: 14.26 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.01136, allocations: 115.6 kB / 0.71 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.01141, allocations: 31.92 kB / 0.71 GB, free: 14.12 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-05/0.01147, allocations: 24 kB / 0.7101 GB, free: 14.09 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/0.01154, allocations: 63.69 kB / 0.7101 GB, free: 14.03 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.0117, allocations: 111.8 kB / 0.7102 GB, free: 13.92 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.0121, allocations: 299.1 kB / 0.7105 GB, free: 13.63 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.0121, allocations: 0 / 0.7105 GB, free: 13.63 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.0121, allocations: 0 / 0.7105 GB, free: 13.63 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.01211, allocations: 0 / 0.7105 GB, free: 13.63 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.001223/0.01333, allocations: 0.5924 MB / 0.7111 GB, free: 12.98 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.01337, allocations: 12.03 kB / 0.7111 GB, free: 12.97 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.489e-05/0.01346, allocations: 36.75 kB / 0.7111 GB, free: 12.94 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.01378, allocations: 212.7 kB / 0.7113 GB, free: 12.71 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.01381, allocations: 16.75 kB / 0.7114 GB, free: 12.69 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/0.01386, allocations: 20.38 kB / 0.7114 GB, free: 12.67 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.01442, allocations: 292.5 kB / 0.7117 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.01445, allocations: 7.938 kB / 0.7117 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.01448, allocations: 12 kB / 0.7117 GB, free: 12.34 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.01449, allocations: 4 kB / 0.7117 GB, free: 12.34 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005388/0.01503, allocations: 240.4 kB / 0.7119 GB, free: 12.09 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.01634, allocations: 0.6717 MB / 0.7126 GB, free: 11.38 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.01697, allocations: 242.7 kB / 0.7128 GB, free: 11.12 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.01727, allocations: 152.4 kB / 0.7129 GB, free: 10.95 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.01729, allocations: 0 / 0.7129 GB, free: 10.95 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005744/0.01786, allocations: 361.5 kB / 0.7133 GB, free: 10.55 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.01786, allocations: 0 / 0.7133 GB, free: 10.55 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002279/0.02014, allocations: 1.087 MB / 0.7143 GB, free: 9.375 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.02031, allocations: 217.6 kB / 0.7146 GB, free: 9.113 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.02062, allocations: 245.9 kB / 0.7148 GB, free: 8.867 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.02066, allocations: 33.7 kB / 0.7148 GB, free: 8.828 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.02081, allocations: 156.8 kB / 0.715 GB, free: 8.668 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.02092, allocations: 111.1 kB / 0.7151 GB, free: 8.559 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.02106, allocations: 74.2 kB / 0.7151 GB, free: 8.477 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.02126, allocations: 342.7 kB / 0.7155 GB, free: 8.133 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.02163, allocations: 211.9 kB / 0.7157 GB, free: 7.906 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.02209, allocations: 315.1 kB / 0.716 GB, free: 7.539 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/0.02277, allocations: 431.1 kB / 0.7164 GB, free: 7.051 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.02277, allocations: 4 kB / 0.7164 GB, free: 7.047 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009753/0.02375, allocations: 0.5499 MB / 0.7169 GB, free: 6.453 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/0.02384, allocations: 96.38 kB / 0.717 GB, free: 6.344 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.02385, allocations: 4 kB / 0.717 GB, free: 6.34 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.02387, allocations: 4 kB / 0.717 GB, free: 6.336 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.02421, allocations: 75.83 kB / 0.7171 GB, free: 6.262 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.02422, allocations: 11.94 kB / 0.7171 GB, free: 6.25 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.02445, allocations: 19.98 kB / 0.7171 GB, free: 6.23 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.02449, allocations: 20 kB / 0.7172 GB, free: 6.211 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.0002871/0.02478, allocations: 232.4 kB / 0.7174 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.02483, allocations: 31.81 kB / 0.7174 GB, free: 5.93 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.58e-05/0.0249, allocations: 30.97 kB / 0.7174 GB, free: 5.898 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.02491, allocations: 7.984 kB / 0.7174 GB, free: 5.891 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.02492, allocations: 0 / 0.7174 GB, free: 5.891 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.02492, allocations: 0 / 0.7174 GB, free: 5.891 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.02623, allocations: 0.7677 MB / 0.7182 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.02623, allocations: 4 kB / 0.7182 GB, free: 5.059 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.02655, allocations: 55.95 kB / 0.7182 GB, free: 5.004 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.02655, allocations: 0 / 0.7182 GB, free: 5.004 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.02658, allocations: 8 kB / 0.7183 GB, free: 4.996 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.02658, allocations: 4 kB / 0.7183 GB, free: 4.992 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.02658, allocations: 3.938 kB / 0.7183 GB, free: 4.988 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.02785, allocations: 0.7191 MB / 0.719 GB, free: 4.211 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.02791, allocations: 31.88 kB / 0.719 GB, free: 4.18 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.02797, allocations: 8 kB / 0.719 GB, free: 4.172 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.02819, allocations: 23.97 kB / 0.719 GB, free: 4.148 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.02829, allocations: 27.89 kB / 0.7191 GB, free: 4.121 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.02832, allocations: 12 kB / 0.7191 GB, free: 4.109 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002127/0.02853, allocations: 177.2 kB / 0.7192 GB, free: 3.938 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02853, allocations: 0 / 0.7192 GB, free: 3.938 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003987/0.02893, allocations: 95.98 kB / 0.7193 GB, free: 3.844 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.0001828/0.02911, allocations: 126.9 kB / 0.7194 GB, free: 3.715 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009391/0.03005, allocations: 0.557 MB / 0.72 GB, free: 3.09 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.03005, allocations: 0 / 0.72 GB, free: 3.09 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1934/0.2234, allocations: 301.1 kB / 0.7203 GB, free: 37.04 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007727/0.2242, allocations: 89.7 kB / 0.7204 GB, free: 37.04 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.2257, allocations: 0.7893 MB / 0.7211 GB, free: 36.63 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.2258, allocations: 159.3 kB / 0.7213 GB, free: 36.55 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.226, allocations: 39.39 kB / 0.7213 GB, free: 36.55 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.2261, allocations: 27.39 kB / 0.7213 GB, free: 36.54 MB / 426.8 MB Notification: Performance of SimCode: time 1.513e-06/0.2261, allocations: 4 kB / 0.7214 GB, free: 36.53 MB / 426.8 MB Notification: Performance of Templates: time 0.0106/0.2367, allocations: 4.54 MB / 0.7258 GB, free: 36.12 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.144758542999625]