Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide.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.002464/0.002464, 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.002863/0.002863, allocations: 214.4 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.753/1.753, allocations: 230.6 MB / 256 MB, free: 9.609 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.02 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.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide") [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.003893/0.003893, allocations: 73.38 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1928, allocations: 74 MB / 0.8472 GB, free: 4.891 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide): time 0.005265/0.198, allocations: 2.32 MB / 0.8495 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4565/0.6546, allocations: 6.517 MB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.6548, allocations: 1.219 kB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.6549, allocations: 26.31 kB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.6551, allocations: 88.14 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.6554, allocations: 52.19 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.6556, allocations: 257.8 kB / 0.8563 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.6558, allocations: 34.17 kB / 0.8563 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.6559, allocations: 98.94 kB / 0.8564 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.6561, allocations: 100.8 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.6561, allocations: 16.19 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.045e-05/0.6562, allocations: 17.06 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.6562, allocations: 37.95 kB / 0.8566 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.681e-05/0.6563, allocations: 95.91 kB / 0.8566 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.6565, allocations: 193 kB / 0.8568 GB, free: 21.87 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.6565, allocations: 0 / 0.8568 GB, free: 21.87 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6565, allocations: 2.531 kB / 0.8568 GB, free: 21.87 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.6565, allocations: 4.438 kB / 0.8568 GB, free: 21.87 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.0007675/0.6573, allocations: 498.3 kB / 0.8573 GB, free: 21.47 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.6573, allocations: 10.69 kB / 0.8573 GB, free: 21.47 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/0.6574, allocations: 25.67 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.6576, allocations: 181.6 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.6576, allocations: 8.953 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.6576, allocations: 28.59 kB / 0.8576 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.658, allocations: 188.1 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.658, allocations: 2.219 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.658, allocations: 11.84 kB / 0.8578 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.6581, allocations: 5.562 kB / 0.8578 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.6584, allocations: 144.3 kB / 0.8579 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007074/0.6591, allocations: 480.4 kB / 0.8584 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.6596, allocations: 176.9 kB / 0.8585 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.6597, allocations: 93.58 kB / 0.8586 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.6597, allocations: 2.562 kB / 0.8586 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.66, allocations: 231.4 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.66, allocations: 0.625 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001302/0.6613, allocations: 0.7004 MB / 0.8595 GB, free: 20.28 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.6614, allocations: 141.6 kB / 0.8597 GB, free: 20.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.6616, allocations: 208.3 kB / 0.8599 GB, free: 20.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.6616, allocations: 32.7 kB / 0.8599 GB, free: 19.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.6617, allocations: 138.1 kB / 0.86 GB, free: 19.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.6617, allocations: 72.19 kB / 0.8601 GB, free: 19.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.781e-05/0.6618, allocations: 56.38 kB / 0.8601 GB, free: 19.83 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.028e-05/0.6618, allocations: 338.2 kB / 0.8605 GB, free: 19.52 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.6621, allocations: 146.9 kB / 0.8606 GB, free: 19.44 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.6623, allocations: 221.4 kB / 0.8608 GB, free: 19.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.6626, allocations: 283 kB / 0.8611 GB, free: 19.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6626, allocations: 2.625 kB / 0.8611 GB, free: 19.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005357/0.6632, allocations: 383.1 kB / 0.8614 GB, free: 18.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.6632, allocations: 62.7 kB / 0.8615 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.6632, allocations: 8.469 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.6632, allocations: 4.438 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.6634, allocations: 52.98 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.6634, allocations: 7.562 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.6636, allocations: 19.95 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.868e-05/0.6636, allocations: 10.03 kB / 0.8616 GB, free: 18.86 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.0001516/0.6638, allocations: 187.6 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.6638, allocations: 20.95 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.658e-05/0.6639, allocations: 31.83 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6639, allocations: 1.156 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6639, allocations: 2.156 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6639, allocations: 0 / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006561/0.6645, allocations: 0.5378 MB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6646, allocations: 0 / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.6647, allocations: 43.09 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.6647, allocations: 3.938 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.6648, allocations: 4.938 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6648, allocations: 9.75 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6648, allocations: 0 / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.6654, allocations: 499.4 kB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.6654, allocations: 17.86 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.6655, allocations: 9 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.6657, allocations: 18.12 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.6657, allocations: 23.48 kB / 0.863 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.6657, allocations: 14.03 kB / 0.863 GB, free: 18.11 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001211/0.6659, allocations: 155.4 kB / 0.8631 GB, free: 18.03 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6659, allocations: 0 / 0.8631 GB, free: 18.03 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002979/0.6662, allocations: 55.72 kB / 0.8632 GB, free: 18.03 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 9.314e-05/0.6662, allocations: 113.7 kB / 0.8633 GB, free: 17.94 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005281/0.6668, allocations: 385.3 kB / 0.8637 GB, free: 17.71 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6668, allocations: 0 / 0.8637 GB, free: 17.71 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.667, allocations: 170.4 kB / 0.8638 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.6675, allocations: 66.55 kB / 0.8639 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.6688, allocations: 0.6836 MB / 0.8645 GB, free: 17.28 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.6689, allocations: 127.6 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.6691, allocations: 21.11 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.6691, allocations: 22.11 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of SimCode: time 5.62e-07/0.6691, allocations: 3.938 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of Templates: time 0.01059/0.6797, allocations: 3.641 MB / 0.8683 GB, free: 16.86 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.359090838814154]