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.00213/0.00213, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.002227/0.002227, allocations: 213.9 kB / 22.25 MB, free: 3.582 MB / 13.93 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.72/1.72, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.506/1.506, allocations: 316.7 MB / 0.6144 GB, free: 93.5 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003933/0.003933, allocations: 77.39 kB / 0.775 GB, free: 14.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1962, allocations: 73.99 MB / 0.8473 GB, free: 5.098 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine): time 0.004751/0.201, allocations: 2.348 MB / 0.8496 GB, free: 2.75 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.2025, allocations: 0.5874 MB / 0.8501 GB, free: 2.168 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.2026, allocations: 7.938 kB / 0.8501 GB, free: 2.16 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.2027, allocations: 24.36 kB / 0.8502 GB, free: 2.137 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.203, allocations: 80.61 kB / 0.8502 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.2032, allocations: 56.47 kB / 0.8503 GB, free: 2.004 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003932/0.2036, allocations: 258.7 kB / 0.8505 GB, free: 1.75 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.2038, allocations: 33.19 kB / 0.8506 GB, free: 1.719 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.204, allocations: 96.38 kB / 0.8507 GB, free: 1.625 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.2042, allocations: 95.53 kB / 0.8508 GB, free: 1.531 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.2042, allocations: 16.5 kB / 0.8508 GB, free: 1.516 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.381e-05/0.2043, allocations: 16.5 kB / 0.8508 GB, free: 1.5 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.2044, allocations: 43.78 kB / 0.8508 GB, free: 1.457 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.2045, allocations: 92.12 kB / 0.8509 GB, free: 1.367 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.2048, allocations: 195.8 kB / 0.8511 GB, free: 1.176 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.2048, allocations: 0 / 0.8511 GB, free: 1.176 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2048, allocations: 0.5312 kB / 0.8511 GB, free: 1.176 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2048, allocations: 0.625 kB / 0.8511 GB, free: 1.176 MB / 474.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.001134/0.206, allocations: 0.4919 MB / 0.8516 GB, free: 0.6406 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.206, allocations: 12.03 kB / 0.8516 GB, free: 0.6289 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.845e-05/0.2061, allocations: 24.8 kB / 0.8516 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.2064, allocations: 179.2 kB / 0.8518 GB, free: 412 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2064, allocations: 8.609 kB / 0.8518 GB, free: 404 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.2065, allocations: 28.95 kB / 0.8518 GB, free: 376 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.2069, allocations: 190.4 kB / 0.852 GB, free: 168 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.2069, allocations: 1.969 kB / 0.852 GB, free: 168 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.207, allocations: 8 kB / 0.852 GB, free: 160 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.207, allocations: 3.938 kB / 0.852 GB, free: 156 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.2074, allocations: 153.8 kB / 0.8522 GB, free: 0 / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009313/0.2083, allocations: 488 kB / 0.8526 GB, free: 15.49 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.2089, allocations: 172.2 kB / 0.8528 GB, free: 15.31 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.2091, allocations: 91.67 kB / 0.8529 GB, free: 15.21 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.2091, allocations: 0 / 0.8529 GB, free: 15.21 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004202/0.2095, allocations: 235.2 kB / 0.8531 GB, free: 14.95 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.2095, allocations: 2.094 kB / 0.8531 GB, free: 14.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001726/0.2112, allocations: 0.6963 MB / 0.8538 GB, free: 14.2 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.2114, allocations: 136.5 kB / 0.8539 GB, free: 14.03 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.2116, allocations: 219 kB / 0.8541 GB, free: 13.81 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.2117, allocations: 30.33 kB / 0.8542 GB, free: 13.77 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.2118, allocations: 136.5 kB / 0.8543 GB, free: 13.64 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/0.2119, allocations: 71.92 kB / 0.8544 GB, free: 13.57 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-05/0.212, allocations: 58.22 kB / 0.8544 GB, free: 13.5 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.2122, allocations: 334.8 kB / 0.8547 GB, free: 13.17 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.2124, allocations: 146 kB / 0.8549 GB, free: 13.01 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.2129, allocations: 218.1 kB / 0.8551 GB, free: 12.75 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.2134, allocations: 289.3 kB / 0.8554 GB, free: 12.43 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2134, allocations: 0.5938 kB / 0.8554 GB, free: 12.43 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.3371/0.5505, allocations: 388.7 kB / 0.8557 GB, free: 28.17 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.5506, allocations: 64.98 kB / 0.8558 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.5506, allocations: 2.062 kB / 0.8558 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.381e-05/0.5506, allocations: 3.375 kB / 0.8558 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.5508, allocations: 53.2 kB / 0.8559 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.5509, allocations: 7.172 kB / 0.8559 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.5511, allocations: 17.2 kB / 0.8559 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.5511, allocations: 7.906 kB / 0.8559 GB, free: 28.11 MB / 490.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.0002063/0.5513, allocations: 177.1 kB / 0.8561 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.5513, allocations: 26.2 kB / 0.8561 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.5514, allocations: 22.94 kB / 0.8561 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5514, allocations: 1.469 kB / 0.8561 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.5514, allocations: 4.016 kB / 0.8561 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.5514, allocations: 0.75 kB / 0.8561 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007398/0.5522, allocations: 0.5359 MB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5522, allocations: 3.719 kB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.5523, allocations: 33.39 kB / 0.8567 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5523, allocations: 1.25 kB / 0.8567 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.5524, allocations: 6.188 kB / 0.8567 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5524, allocations: 1.188 kB / 0.8567 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5524, allocations: 3.25 kB / 0.8567 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.553, allocations: 0.4927 MB / 0.8572 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.5531, allocations: 28.03 kB / 0.8572 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.5531, allocations: 11.7 kB / 0.8572 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.5533, allocations: 11.78 kB / 0.8572 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.5534, allocations: 22.88 kB / 0.8572 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.5534, allocations: 7.391 kB / 0.8572 GB, free: 27.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001224/0.5535, allocations: 158.8 kB / 0.8574 GB, free: 27.36 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5535, allocations: 0 / 0.8574 GB, free: 27.36 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002917/0.5538, allocations: 54.78 kB / 0.8574 GB, free: 27.36 MB / 490.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.0001154/0.5539, allocations: 112.5 kB / 0.8575 GB, free: 27.27 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005358/0.5545, allocations: 376 kB / 0.8579 GB, free: 27.05 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5545, allocations: 2.125 kB / 0.8579 GB, free: 27.05 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.5547, allocations: 175.9 kB / 0.8581 GB, free: 26.95 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.5551, allocations: 66.89 kB / 0.8581 GB, free: 26.95 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.5563, allocations: 0.6731 MB / 0.8588 GB, free: 26.68 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.5564, allocations: 129.5 kB / 0.8589 GB, free: 26.61 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.5565, allocations: 22.61 kB / 0.8589 GB, free: 26.6 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.5566, allocations: 22.03 kB / 0.859 GB, free: 26.59 MB / 490.8 MB Notification: Performance of SimCode: time 5.21e-07/0.5566, allocations: 0.5938 kB / 0.859 GB, free: 26.59 MB / 490.8 MB Notification: Performance of Templates: time 0.008368/0.5649, allocations: 3.626 MB / 0.8625 GB, free: 26.28 MB / 490.8 MB " [Timeout remaining time 659] 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: 7.627186979865655]