Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.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.001895/0.001895, 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.002869/0.002869, allocations: 173.9 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.735/1.735, allocations: 177.1 MB / 202.8 MB, free: 5.773 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.401/1.401, allocations: 292.9 MB / 0.5392 GB, free: 49.85 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.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6999 GB, free: 8.582 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.651e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.574 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid): time 0.004047/0.004074, allocations: 2.335 MB / 0.7022 GB, free: 6.223 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.005348, allocations: 0.5922 MB / 0.7027 GB, free: 5.629 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.005469, allocations: 7.938 kB / 0.7028 GB, free: 5.621 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.005606, allocations: 31.7 kB / 0.7028 GB, free: 5.59 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.005872, allocations: 79.33 kB / 0.7029 GB, free: 5.512 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.00613, allocations: 55.81 kB / 0.7029 GB, free: 5.457 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.006452, allocations: 270.6 kB / 0.7032 GB, free: 5.191 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.006602, allocations: 28.58 kB / 0.7032 GB, free: 5.168 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.006808, allocations: 147.6 kB / 0.7033 GB, free: 5.023 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.007053, allocations: 83.72 kB / 0.7034 GB, free: 4.941 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.007094, allocations: 20 kB / 0.7034 GB, free: 4.922 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.858e-05/0.007142, allocations: 16 kB / 0.7035 GB, free: 4.906 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.007187, allocations: 39.84 kB / 0.7035 GB, free: 4.867 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.007296, allocations: 75.77 kB / 0.7036 GB, free: 4.793 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.007572, allocations: 199.3 kB / 0.7038 GB, free: 4.598 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.007576, allocations: 4 kB / 0.7038 GB, free: 4.594 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.032e-06/0.007577, allocations: 3.938 kB / 0.7038 GB, free: 4.59 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.007582, allocations: 0 / 0.7038 GB, free: 4.59 MB / 410.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.001027/0.008608, allocations: 496.9 kB / 0.7042 GB, free: 4.059 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.008646, allocations: 11.89 kB / 0.7042 GB, free: 4.047 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.383e-05/0.00873, allocations: 24.8 kB / 0.7043 GB, free: 4.023 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.009011, allocations: 182.3 kB / 0.7044 GB, free: 3.816 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.009036, allocations: 12.61 kB / 0.7045 GB, free: 3.805 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.00908, allocations: 12.38 kB / 0.7045 GB, free: 3.793 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.009559, allocations: 198.5 kB / 0.7047 GB, free: 3.586 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.00958, allocations: 7.953 kB / 0.7047 GB, free: 3.578 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.009606, allocations: 4 kB / 0.7047 GB, free: 3.574 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.009612, allocations: 8 kB / 0.7047 GB, free: 3.566 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/0.01014, allocations: 146.2 kB / 0.7048 GB, free: 3.418 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009506/0.01109, allocations: 481.5 kB / 0.7053 GB, free: 2.914 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/0.01176, allocations: 168.2 kB / 0.7054 GB, free: 2.734 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.01202, allocations: 98.52 kB / 0.7055 GB, free: 2.629 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.01204, allocations: 4 kB / 0.7055 GB, free: 2.625 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000422/0.01246, allocations: 232.4 kB / 0.7058 GB, free: 2.367 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.863e-06/0.01246, allocations: 0 / 0.7058 GB, free: 2.367 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001923/0.01438, allocations: 0.7063 MB / 0.7064 GB, free: 1.598 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.01443, allocations: 136.5 kB / 0.7066 GB, free: 1.434 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.01469, allocations: 226.9 kB / 0.7068 GB, free: 1.203 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.01472, allocations: 33.7 kB / 0.7068 GB, free: 1.164 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.0148, allocations: 128.5 kB / 0.7069 GB, free: 1.035 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/0.01486, allocations: 67.47 kB / 0.707 GB, free: 0.9688 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.01497, allocations: 49.7 kB / 0.7071 GB, free: 0.9141 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.01503, allocations: 342.8 kB / 0.7074 GB, free: 0.5703 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.01535, allocations: 141 kB / 0.7075 GB, free: 424 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.0157, allocations: 225.3 kB / 0.7077 GB, free: 152 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006804/0.01638, allocations: 276.8 kB / 0.708 GB, free: 15.84 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01638, allocations: 4.031 kB / 0.708 GB, free: 15.83 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001102/0.01748, allocations: 394.2 kB / 0.7084 GB, free: 15.42 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.933e-05/0.01758, allocations: 63.39 kB / 0.7084 GB, free: 15.34 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.01759, allocations: 0 / 0.7084 GB, free: 15.34 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.01761, allocations: 4 kB / 0.7084 GB, free: 15.34 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.01796, allocations: 56.06 kB / 0.7085 GB, free: 15.29 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.01797, allocations: 8 kB / 0.7085 GB, free: 15.28 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.01828, allocations: 15.98 kB / 0.7085 GB, free: 15.26 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.01832, allocations: 16 kB / 0.7085 GB, free: 15.25 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: 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.0003067/0.01862, allocations: 175.6 kB / 0.7087 GB, free: 15.06 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.01868, allocations: 19.84 kB / 0.7087 GB, free: 15.04 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.487e-05/0.01877, allocations: 25.95 kB / 0.7087 GB, free: 15.01 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01877, allocations: 4 kB / 0.7087 GB, free: 15.01 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.01878, allocations: 7.938 kB / 0.7088 GB, free: 15 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01878, allocations: 0 / 0.7088 GB, free: 15 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.02015, allocations: 0.5367 MB / 0.7093 GB, free: 14.41 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.02015, allocations: 4 kB / 0.7093 GB, free: 14.41 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.02049, allocations: 31.97 kB / 0.7093 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.0205, allocations: 3.938 kB / 0.7093 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.02052, allocations: 8 kB / 0.7093 GB, free: 14.37 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.02053, allocations: 0 / 0.7093 GB, free: 14.37 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.02053, allocations: 4 kB / 0.7093 GB, free: 14.36 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.0219, allocations: 0.4958 MB / 0.7098 GB, free: 13.84 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.02196, allocations: 19.89 kB / 0.7098 GB, free: 13.82 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.02203, allocations: 12 kB / 0.7098 GB, free: 13.8 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.02236, allocations: 15.98 kB / 0.7099 GB, free: 13.79 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/0.02245, allocations: 19.97 kB / 0.7099 GB, free: 13.77 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.02247, allocations: 7.984 kB / 0.7099 GB, free: 13.76 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001884/0.02266, allocations: 156.4 kB / 0.71 GB, free: 13.61 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.02266, allocations: 4 kB / 0.71 GB, free: 13.61 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0004003/0.02306, allocations: 60 kB / 0.7101 GB, free: 13.55 MB / 426.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.0001528/0.02321, allocations: 110.3 kB / 0.7102 GB, free: 13.43 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007112/0.02392, allocations: 383.6 kB / 0.7106 GB, free: 13.02 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02392, allocations: 0 / 0.7106 GB, free: 13.02 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.02424, allocations: 176.1 kB / 0.7107 GB, free: 12.83 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.0247, allocations: 63.83 kB / 0.7108 GB, free: 12.77 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.02591, allocations: 0.5781 MB / 0.7114 GB, free: 12.16 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.02605, allocations: 125.6 kB / 0.7115 GB, free: 12.01 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 9.135e-05/0.02614, allocations: 17.95 kB / 0.7115 GB, free: 11.99 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.02623, allocations: 32.48 kB / 0.7115 GB, free: 11.96 MB / 426.8 MB Notification: Performance of SimCode: time 4.81e-07/0.02623, allocations: 0 / 0.7115 GB, free: 11.96 MB / 426.8 MB Notification: Performance of Templates: time 0.008273/0.0345, allocations: 3.33 MB / 0.7148 GB, free: 8.781 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.8735170878935605]