Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.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.002307/0.002307, 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.002973/0.002973, allocations: 173.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.725/1.725, 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.362/1.362, 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.NonDrugs.T_toxic_hazardous.LArginine.LArginine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.234e-05, allocations: 5.094 kB / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine): time 0.003733/0.003765, allocations: 2.34 MB / 0.7022 GB, free: 6.188 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.004935, allocations: 0.5961 MB / 0.7028 GB, free: 5.59 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.005121, allocations: 4 kB / 0.7028 GB, free: 5.586 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.005265, allocations: 23.72 kB / 0.7028 GB, free: 5.562 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.005525, allocations: 87.27 kB / 0.7029 GB, free: 5.477 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.005797, allocations: 63.8 kB / 0.7029 GB, free: 5.414 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003423/0.006139, allocations: 262.6 kB / 0.7032 GB, free: 5.156 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.006313, allocations: 28.58 kB / 0.7032 GB, free: 5.133 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.006599, allocations: 143.6 kB / 0.7033 GB, free: 4.992 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.006865, allocations: 79.78 kB / 0.7034 GB, free: 4.914 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.006921, allocations: 16 kB / 0.7034 GB, free: 4.898 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.041e-05/0.006962, allocations: 16 kB / 0.7035 GB, free: 4.883 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.007006, allocations: 43.77 kB / 0.7035 GB, free: 4.84 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.007125, allocations: 83.77 kB / 0.7036 GB, free: 4.758 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.007417, allocations: 199.3 kB / 0.7038 GB, free: 4.562 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.007422, allocations: 0 / 0.7038 GB, free: 4.562 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.673e-06/0.007424, allocations: 0 / 0.7038 GB, free: 4.562 MB / 410.8 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.007432, allocations: 3.938 kB / 0.7038 GB, free: 4.559 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.0009382/0.008371, allocations: 492.9 kB / 0.7042 GB, free: 4.031 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.008408, allocations: 8.031 kB / 0.7042 GB, free: 4.023 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/0.008478, allocations: 28.8 kB / 0.7043 GB, free: 3.996 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.008725, allocations: 178.4 kB / 0.7044 GB, free: 3.793 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.008748, allocations: 16.55 kB / 0.7045 GB, free: 3.777 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.008788, allocations: 16.36 kB / 0.7045 GB, free: 3.762 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.009148, allocations: 198.4 kB / 0.7047 GB, free: 3.555 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.009167, allocations: 3.953 kB / 0.7047 GB, free: 3.551 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.009186, allocations: 4 kB / 0.7047 GB, free: 3.547 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.009192, allocations: 4 kB / 0.7047 GB, free: 3.543 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.009549, allocations: 150.3 kB / 0.7048 GB, free: 3.391 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007351/0.01028, allocations: 481.5 kB / 0.7053 GB, free: 2.887 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.01077, allocations: 176.1 kB / 0.7054 GB, free: 2.699 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.01094, allocations: 100.9 kB / 0.7055 GB, free: 2.594 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.01096, allocations: 0 / 0.7055 GB, free: 2.594 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003076/0.01126, allocations: 232.4 kB / 0.7058 GB, free: 2.336 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.01127, allocations: 0 / 0.7058 GB, free: 2.336 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001382/0.01265, allocations: 0.6907 MB / 0.7064 GB, free: 1.582 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.0127, allocations: 148.4 kB / 0.7066 GB, free: 1.406 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.01288, allocations: 215 kB / 0.7068 GB, free: 1.188 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.0129, allocations: 37.7 kB / 0.7068 GB, free: 1.145 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.01296, allocations: 132.5 kB / 0.7069 GB, free: 1.012 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.01301, allocations: 71.48 kB / 0.707 GB, free: 0.9414 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.701e-05/0.01309, allocations: 45.7 kB / 0.7071 GB, free: 0.8906 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.01316, allocations: 342.8 kB / 0.7074 GB, free: 0.5469 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.01338, allocations: 137 kB / 0.7075 GB, free: 404 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.0136, allocations: 223.5 kB / 0.7077 GB, free: 136 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.01406, allocations: 284.8 kB / 0.708 GB, free: 15.81 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01406, allocations: 3.938 kB / 0.708 GB, free: 15.81 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008629/0.01493, allocations: 398.2 kB / 0.7084 GB, free: 15.39 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.71e-05/0.015, allocations: 63.39 kB / 0.7084 GB, free: 15.32 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.01501, allocations: 3.984 kB / 0.7084 GB, free: 15.31 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.01504, allocations: 4 kB / 0.7085 GB, free: 15.31 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.01527, allocations: 55.84 kB / 0.7085 GB, free: 15.25 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.01528, allocations: 4 kB / 0.7085 GB, free: 15.25 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.01549, allocations: 23.92 kB / 0.7085 GB, free: 15.23 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.01551, allocations: 12.17 kB / 0.7085 GB, free: 15.21 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.0002506/0.01576, allocations: 179.6 kB / 0.7087 GB, free: 15.02 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.01581, allocations: 19.89 kB / 0.7087 GB, free: 15 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.147e-05/0.01587, allocations: 25.97 kB / 0.7088 GB, free: 14.98 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01587, allocations: 0 / 0.7088 GB, free: 14.98 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.01588, allocations: 3.938 kB / 0.7088 GB, free: 14.97 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.01589, allocations: 3.984 kB / 0.7088 GB, free: 14.97 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/0.01683, allocations: 0.5406 MB / 0.7093 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.01683, allocations: 0 / 0.7093 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.01703, allocations: 31.98 kB / 0.7093 GB, free: 14.35 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01703, allocations: 0 / 0.7093 GB, free: 14.35 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.01706, allocations: 7.984 kB / 0.7093 GB, free: 14.34 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01706, allocations: 0 / 0.7093 GB, free: 14.34 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.01707, allocations: 4 kB / 0.7093 GB, free: 14.34 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009164/0.01798, allocations: 0.5037 MB / 0.7098 GB, free: 13.8 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.01803, allocations: 15.86 kB / 0.7098 GB, free: 13.79 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.01808, allocations: 8 kB / 0.7099 GB, free: 13.78 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.01826, allocations: 16.03 kB / 0.7099 GB, free: 13.76 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.01837, allocations: 23.95 kB / 0.7099 GB, free: 13.74 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.01839, allocations: 4 kB / 0.7099 GB, free: 13.73 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001927/0.01858, allocations: 160.4 kB / 0.71 GB, free: 13.58 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01858, allocations: 0 / 0.71 GB, free: 13.58 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003178/0.0189, allocations: 55.94 kB / 0.7101 GB, free: 13.52 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.0001805/0.01908, allocations: 111.2 kB / 0.7102 GB, free: 13.41 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000701/0.01978, allocations: 382.6 kB / 0.7106 GB, free: 12.99 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01978, allocations: 0 / 0.7106 GB, free: 12.99 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.02007, allocations: 173 kB / 0.7107 GB, free: 12.8 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.02057, allocations: 76.2 kB / 0.7108 GB, free: 12.73 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.02186, allocations: 0.5742 MB / 0.7114 GB, free: 12.12 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.02201, allocations: 121.6 kB / 0.7115 GB, free: 11.98 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.02214, allocations: 25.94 kB / 0.7115 GB, free: 11.96 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.02221, allocations: 24.44 kB / 0.7115 GB, free: 11.93 MB / 426.8 MB Notification: Performance of SimCode: time 7.11e-07/0.02221, allocations: 0 / 0.7115 GB, free: 11.93 MB / 426.8 MB Notification: Performance of Templates: time 0.008654/0.03086, allocations: 3.325 MB / 0.7148 GB, free: 8.723 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.916527042165399]