Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.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.002515/0.002515, 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.003274/0.003274, 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.652/1.652, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.369/1.369, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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.N05CD14_Remimazolam.Remimazolam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.6999 GB, free: 8.504 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.18e-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.N05CD14_Remimazolam.Remimazolam): time 0.00319/0.003222, allocations: 2.722 MB / 0.7026 GB, free: 5.754 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006476/0.009698, allocations: 6.604 MB / 0.709 GB, free: 15.14 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.009909, allocations: 4 kB / 0.709 GB, free: 15.14 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.01008, allocations: 35.58 kB / 0.7091 GB, free: 15.1 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.01046, allocations: 134.9 kB / 0.7092 GB, free: 14.97 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.01074, allocations: 71.84 kB / 0.7093 GB, free: 14.9 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005587/0.0113, allocations: 385.9 kB / 0.7096 GB, free: 14.52 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.01148, allocations: 64.81 kB / 0.7097 GB, free: 14.46 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.01182, allocations: 199.6 kB / 0.7099 GB, free: 14.27 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.01212, allocations: 115.6 kB / 0.71 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.606e-05/0.01217, allocations: 27.94 kB / 0.71 GB, free: 14.12 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.124e-05/0.01224, allocations: 32 kB / 0.7101 GB, free: 14.09 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-05/0.01232, allocations: 67.67 kB / 0.7101 GB, free: 14.03 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.01248, allocations: 103.8 kB / 0.7102 GB, free: 13.93 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000432/0.01291, allocations: 299.1 kB / 0.7105 GB, free: 13.63 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.01291, allocations: 0 / 0.7105 GB, free: 13.63 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01291, allocations: 0 / 0.7105 GB, free: 13.63 MB / 426.8 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.01292, 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.00124/0.01416, allocations: 0.5963 MB / 0.7111 GB, free: 12.98 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.01421, allocations: 12.03 kB / 0.7111 GB, free: 12.97 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.09e-05/0.0143, allocations: 36.75 kB / 0.7111 GB, free: 12.94 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.01464, allocations: 212.7 kB / 0.7113 GB, free: 12.71 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.01466, allocations: 12.75 kB / 0.7114 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.01471, allocations: 24.38 kB / 0.7114 GB, free: 12.67 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.01528, allocations: 292.5 kB / 0.7117 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.0153, allocations: 11.94 kB / 0.7117 GB, free: 12.35 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.01533, allocations: 8 kB / 0.7117 GB, free: 12.34 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.01533, allocations: 8 kB / 0.7117 GB, free: 12.34 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.01586, allocations: 232.4 kB / 0.7119 GB, free: 12.09 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.01715, allocations: 0.6717 MB / 0.7126 GB, free: 11.38 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006166/0.01777, allocations: 247.5 kB / 0.7128 GB, free: 11.12 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.01806, allocations: 148.4 kB / 0.7129 GB, free: 10.96 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.01807, allocations: 4 kB / 0.7129 GB, free: 10.95 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005472/0.01862, allocations: 361.5 kB / 0.7133 GB, free: 10.55 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.01862, allocations: 0 / 0.7133 GB, free: 10.55 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002249/0.02087, allocations: 1.083 MB / 0.7144 GB, free: 9.379 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/0.02104, allocations: 217.6 kB / 0.7146 GB, free: 9.117 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.02136, allocations: 245.9 kB / 0.7148 GB, free: 8.871 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.0214, allocations: 33.7 kB / 0.7148 GB, free: 8.832 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.02155, allocations: 156.8 kB / 0.715 GB, free: 8.672 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.02166, allocations: 119.1 kB / 0.7151 GB, free: 8.555 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.02179, allocations: 70.2 kB / 0.7152 GB, free: 8.477 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.02199, allocations: 346.7 kB / 0.7155 GB, free: 8.129 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.02236, allocations: 203.9 kB / 0.7157 GB, free: 7.91 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.0228, allocations: 319.1 kB / 0.716 GB, free: 7.539 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006893/0.02349, allocations: 427.1 kB / 0.7164 GB, free: 7.055 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02349, allocations: 4 kB / 0.7164 GB, free: 7.051 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009946/0.02449, allocations: 0.5497 MB / 0.7169 GB, free: 6.457 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.23e-05/0.02457, allocations: 93.09 kB / 0.717 GB, free: 6.348 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.02458, allocations: 4 kB / 0.717 GB, free: 6.344 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.0246, allocations: 4 kB / 0.717 GB, free: 6.34 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.02493, allocations: 83.83 kB / 0.7171 GB, free: 6.258 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.02494, allocations: 7.938 kB / 0.7171 GB, free: 6.25 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.02519, allocations: 24.33 kB / 0.7171 GB, free: 6.227 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.02525, allocations: 16 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.0002804/0.02553, allocations: 230.2 kB / 0.7174 GB, free: 5.965 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.02558, allocations: 31.81 kB / 0.7174 GB, free: 5.934 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.489e-05/0.02566, allocations: 30.95 kB / 0.7174 GB, free: 5.902 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.02566, allocations: 8 kB / 0.7174 GB, free: 5.895 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.02567, allocations: 0 / 0.7174 GB, free: 5.895 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.02567, allocations: 0 / 0.7174 GB, free: 5.895 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.02704, allocations: 0.7717 MB / 0.7182 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.02704, allocations: 0 / 0.7182 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.02735, allocations: 55.95 kB / 0.7182 GB, free: 5.008 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.02735, allocations: 3.984 kB / 0.7183 GB, free: 5.004 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.02739, allocations: 8 kB / 0.7183 GB, free: 4.996 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.02739, allocations: 4 kB / 0.7183 GB, free: 4.992 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.0274, allocations: 3.938 kB / 0.7183 GB, free: 4.988 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.02865, allocations: 0.723 MB / 0.719 GB, free: 4.207 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.0287, allocations: 27.88 kB / 0.719 GB, free: 4.18 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/0.02876, allocations: 15.98 kB / 0.719 GB, free: 4.164 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.029, allocations: 15.98 kB / 0.719 GB, free: 4.148 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.02911, allocations: 35.89 kB / 0.7191 GB, free: 4.113 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.02913, allocations: 8 kB / 0.7191 GB, free: 4.105 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002238/0.02936, allocations: 181.2 kB / 0.7192 GB, free: 3.93 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.02936, allocations: 0 / 0.7192 GB, free: 3.93 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00037/0.02973, allocations: 92 kB / 0.7193 GB, free: 3.84 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.0001942/0.02992, allocations: 118.9 kB / 0.7194 GB, free: 3.719 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.031, allocations: 0.5609 MB / 0.72 GB, free: 3.09 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.031, allocations: 0.6875 kB / 0.72 GB, free: 3.09 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2004/0.2314, allocations: 301.3 kB / 0.7203 GB, free: 37.06 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007638/0.2322, allocations: 83.61 kB / 0.7204 GB, free: 37.06 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.2338, allocations: 0.7933 MB / 0.7211 GB, free: 36.66 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.234, allocations: 158.8 kB / 0.7213 GB, free: 36.58 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001681/0.2342, allocations: 38.95 kB / 0.7213 GB, free: 36.57 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.891e-05/0.2343, allocations: 31.41 kB / 0.7214 GB, free: 36.56 MB / 426.8 MB Notification: Performance of SimCode: time 1.302e-06/0.2343, allocations: 0 / 0.7214 GB, free: 36.56 MB / 426.8 MB Notification: Performance of Templates: time 0.01107/0.2453, allocations: 4.541 MB / 0.7258 GB, free: 36.15 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.043607906904072]