Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride.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.001861/0.001861, allocations: 105.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.001934/0.001934, allocations: 211.7 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.739/1.739, allocations: 230.6 MB / 256 MB, free: 9.598 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.378/1.378, allocations: 316.8 MB / 0.6144 GB, free: 93.53 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.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride") [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.003849/0.003849, allocations: 77.59 kB / 0.775 GB, free: 15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.188, allocations: 73.99 MB / 0.8473 GB, free: 5.148 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride): time 0.005627/0.1936, allocations: 2.297 MB / 0.8495 GB, free: 2.852 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3166/0.5103, allocations: 6.526 MB / 0.8559 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.5105, allocations: 3.531 kB / 0.8559 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.5106, allocations: 26.44 kB / 0.8559 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.5109, allocations: 79.69 kB / 0.856 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.5111, allocations: 52.41 kB / 0.856 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.5114, allocations: 261.5 kB / 0.8563 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.5115, allocations: 34.8 kB / 0.8563 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.5116, allocations: 97.11 kB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.5118, allocations: 101.4 kB / 0.8565 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.5119, allocations: 15.12 kB / 0.8565 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.052e-05/0.5119, allocations: 18.88 kB / 0.8565 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.5119, allocations: 38.48 kB / 0.8566 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.787e-05/0.512, allocations: 91.61 kB / 0.8567 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.5123, allocations: 203 kB / 0.8569 GB, free: 21.53 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5123, allocations: 0 / 0.8569 GB, free: 21.53 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5123, allocations: 0 / 0.8569 GB, free: 21.53 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.5123, allocations: 0 / 0.8569 GB, free: 21.53 MB / 490.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.0008319/0.5131, allocations: 498 kB / 0.8573 GB, free: 21.13 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.5132, allocations: 8.219 kB / 0.8573 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.5132, allocations: 29.27 kB / 0.8574 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.5135, allocations: 185.2 kB / 0.8575 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.5135, allocations: 8.641 kB / 0.8575 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.5135, allocations: 22.33 kB / 0.8576 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.5139, allocations: 191.7 kB / 0.8578 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.5139, allocations: 2.25 kB / 0.8578 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.5139, allocations: 6.859 kB / 0.8578 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.5139, allocations: 0 / 0.8578 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.5143, allocations: 153.3 kB / 0.8579 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007323/0.515, allocations: 483.5 kB / 0.8584 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.5155, allocations: 172.9 kB / 0.8585 GB, free: 20.49 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.5157, allocations: 94.39 kB / 0.8586 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.5157, allocations: 2.344 kB / 0.8586 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/0.516, allocations: 229.4 kB / 0.8588 GB, free: 20.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.516, allocations: 0.7188 kB / 0.8588 GB, free: 20.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001336/0.5173, allocations: 0.7083 MB / 0.8595 GB, free: 19.95 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.5174, allocations: 139.5 kB / 0.8597 GB, free: 19.79 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.5176, allocations: 213.2 kB / 0.8599 GB, free: 19.68 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.5176, allocations: 35.67 kB / 0.8599 GB, free: 19.65 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.5176, allocations: 132.3 kB / 0.86 GB, free: 19.56 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.5177, allocations: 72.03 kB / 0.8601 GB, free: 19.52 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.5178, allocations: 58.23 kB / 0.8602 GB, free: 19.5 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.5178, allocations: 334.6 kB / 0.8605 GB, free: 19.18 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.518, allocations: 143.7 kB / 0.8606 GB, free: 19.11 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.5183, allocations: 223.4 kB / 0.8608 GB, free: 18.94 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.5186, allocations: 280.8 kB / 0.8611 GB, free: 18.77 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5186, allocations: 1.156 kB / 0.8611 GB, free: 18.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005514/0.5192, allocations: 391.9 kB / 0.8615 GB, free: 18.59 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.5192, allocations: 64.81 kB / 0.8615 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5192, allocations: 4.562 kB / 0.8615 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.5192, allocations: 6.031 kB / 0.8615 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.5195, allocations: 50.03 kB / 0.8616 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.5195, allocations: 3.625 kB / 0.8616 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.5197, allocations: 19.92 kB / 0.8616 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.5197, allocations: 14.33 kB / 0.8616 GB, free: 18.52 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.0001762/0.5199, allocations: 181.1 kB / 0.8618 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.5199, allocations: 25.83 kB / 0.8618 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.604e-05/0.52, allocations: 23.22 kB / 0.8618 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.52, allocations: 1.828 kB / 0.8618 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.52, allocations: 2.625 kB / 0.8618 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.52, allocations: 1.922 kB / 0.8618 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000773/0.5208, allocations: 0.5416 MB / 0.8624 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.5208, allocations: 4.562 kB / 0.8624 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.5209, allocations: 42.16 kB / 0.8624 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.521, allocations: 0 / 0.8624 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.521, allocations: 7.781 kB / 0.8624 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.521, allocations: 5.938 kB / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.521, allocations: 2.094 kB / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000667/0.5216, allocations: 0.4894 MB / 0.8629 GB, free: 17.79 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.5217, allocations: 18.31 kB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.5217, allocations: 11.75 kB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.5219, allocations: 13.56 kB / 0.863 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.522, allocations: 24.48 kB / 0.863 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.522, allocations: 5.438 kB / 0.863 GB, free: 17.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001248/0.5221, allocations: 159.2 kB / 0.8631 GB, free: 17.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5221, allocations: 0 / 0.8631 GB, free: 17.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003103/0.5224, allocations: 57.59 kB / 0.8632 GB, free: 17.7 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.0001186/0.5226, allocations: 112.1 kB / 0.8633 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007215/0.5233, allocations: 382.3 kB / 0.8637 GB, free: 17.37 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5233, allocations: 0.7812 kB / 0.8637 GB, free: 17.37 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.5235, allocations: 172.3 kB / 0.8638 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.524, allocations: 72.69 kB / 0.8639 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.5253, allocations: 0.682 MB / 0.8646 GB, free: 16.95 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.5254, allocations: 129.7 kB / 0.8647 GB, free: 16.88 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.5256, allocations: 24.61 kB / 0.8647 GB, free: 16.87 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.5257, allocations: 20.34 kB / 0.8647 GB, free: 16.86 MB / 490.8 MB Notification: Performance of SimCode: time 8.92e-07/0.5257, allocations: 0 / 0.8647 GB, free: 16.86 MB / 490.8 MB Notification: Performance of Templates: time 0.009502/0.5352, allocations: 3.634 MB / 0.8683 GB, free: 16.54 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.466322052991018]