Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine.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.002245/0.002245, 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.002877/0.002877, allocations: 169.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.571/1.571, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.412/1.412, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/2.959e-05, allocations: 6.281 kB / 0.6999 GB, free: 8.527 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine): time 0.003057/0.003086, allocations: 2.308 MB / 0.7021 GB, free: 6.203 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006129/0.009215, allocations: 6.53 MB / 0.7085 GB, free: 15.66 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.009452, allocations: 3.938 kB / 0.7085 GB, free: 15.66 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.009643, allocations: 27.7 kB / 0.7085 GB, free: 15.63 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.01001, allocations: 91.27 kB / 0.7086 GB, free: 15.54 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.01031, allocations: 51.88 kB / 0.7087 GB, free: 15.49 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003877/0.0107, allocations: 266.6 kB / 0.7089 GB, free: 15.23 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.01087, allocations: 36.58 kB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.0111, allocations: 139.6 kB / 0.7091 GB, free: 15.06 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.01134, allocations: 79.78 kB / 0.7092 GB, free: 14.98 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.01138, allocations: 20 kB / 0.7092 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.997e-05/0.01142, allocations: 16 kB / 0.7092 GB, free: 14.95 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.01148, allocations: 39.78 kB / 0.7093 GB, free: 14.91 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.01161, allocations: 75.83 kB / 0.7093 GB, free: 14.84 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.01196, allocations: 207.3 kB / 0.7095 GB, free: 14.63 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.01196, allocations: 4 kB / 0.7095 GB, free: 14.63 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.964e-06/0.01196, allocations: 3.938 kB / 0.7095 GB, free: 14.62 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.01197, allocations: 3.938 kB / 0.7095 GB, free: 14.62 MB / 426.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.001193/0.01316, allocations: 496.8 kB / 0.71 GB, free: 14.09 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.0132, allocations: 8.031 kB / 0.71 GB, free: 14.08 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.01328, allocations: 24.8 kB / 0.71 GB, free: 14.06 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.01359, allocations: 182.4 kB / 0.7102 GB, free: 13.85 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.01361, allocations: 8.609 kB / 0.7102 GB, free: 13.84 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.01365, allocations: 20.33 kB / 0.7102 GB, free: 13.82 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.01411, allocations: 198.5 kB / 0.7104 GB, free: 13.62 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.01412, allocations: 0 / 0.7104 GB, free: 13.62 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.01415, allocations: 8 kB / 0.7104 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.01415, allocations: 0 / 0.7104 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004141/0.01457, allocations: 150.2 kB / 0.7106 GB, free: 13.46 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009501/0.01552, allocations: 477.5 kB / 0.711 GB, free: 12.96 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/0.01609, allocations: 180.1 kB / 0.7112 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.01631, allocations: 95.3 kB / 0.7113 GB, free: 12.66 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.01633, allocations: 7.938 kB / 0.7113 GB, free: 12.66 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004198/0.01675, allocations: 226.7 kB / 0.7115 GB, free: 12.41 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.01675, allocations: 0 / 0.7115 GB, free: 12.41 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.00171/0.01846, allocations: 0.7066 MB / 0.7122 GB, free: 11.64 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.01859, allocations: 136.5 kB / 0.7123 GB, free: 11.47 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.01888, allocations: 215 kB / 0.7125 GB, free: 11.25 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.01892, allocations: 29.7 kB / 0.7126 GB, free: 11.22 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.01904, allocations: 136.4 kB / 0.7127 GB, free: 11.08 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/0.01912, allocations: 79.41 kB / 0.7128 GB, free: 11 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.01922, allocations: 53.7 kB / 0.7128 GB, free: 10.95 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.01942, allocations: 334.8 kB / 0.7132 GB, free: 10.61 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.01972, allocations: 148.9 kB / 0.7133 GB, free: 10.45 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.02006, allocations: 225.3 kB / 0.7135 GB, free: 10.18 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.02055, allocations: 278.3 kB / 0.7138 GB, free: 9.867 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.02055, allocations: 0 / 0.7138 GB, free: 9.867 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007593/0.02131, allocations: 392.9 kB / 0.7142 GB, free: 9.453 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.813e-05/0.02138, allocations: 66.2 kB / 0.7142 GB, free: 9.379 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.02139, allocations: 4 kB / 0.7142 GB, free: 9.375 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.02141, allocations: 7.984 kB / 0.7142 GB, free: 9.367 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.02166, allocations: 51.84 kB / 0.7143 GB, free: 9.316 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.02167, allocations: 4 kB / 0.7143 GB, free: 9.312 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.02187, allocations: 15.98 kB / 0.7143 GB, free: 9.297 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.0219, allocations: 12 kB / 0.7143 GB, free: 9.285 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.0002331/0.02213, allocations: 175.8 kB / 0.7145 GB, free: 9.098 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.02217, allocations: 23.86 kB / 0.7145 GB, free: 9.074 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.02224, allocations: 29.89 kB / 0.7145 GB, free: 9.043 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.02225, allocations: 4 kB / 0.7145 GB, free: 9.039 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.02226, allocations: 7.938 kB / 0.7145 GB, free: 9.031 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.02226, allocations: 0 / 0.7145 GB, free: 9.031 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009853/0.02325, allocations: 0.5329 MB / 0.7151 GB, free: 8.449 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.02325, allocations: 0 / 0.7151 GB, free: 8.449 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.02346, allocations: 43.91 kB / 0.7151 GB, free: 8.406 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.02346, allocations: 0 / 0.7151 GB, free: 8.406 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.02348, allocations: 8 kB / 0.7151 GB, free: 8.398 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.02348, allocations: 0 / 0.7151 GB, free: 8.398 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.02349, allocations: 0 / 0.7151 GB, free: 8.398 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009026/0.02439, allocations: 0.4952 MB / 0.7156 GB, free: 7.875 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.02445, allocations: 23.89 kB / 0.7156 GB, free: 7.852 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.02449, allocations: 11.94 kB / 0.7156 GB, free: 7.84 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.02468, allocations: 15.98 kB / 0.7156 GB, free: 7.824 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.171e-05/0.02477, allocations: 19.97 kB / 0.7157 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.02479, allocations: 11.98 kB / 0.7157 GB, free: 7.793 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002112/0.025, allocations: 156.4 kB / 0.7158 GB, free: 7.641 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.025, allocations: 0 / 0.7158 GB, free: 7.641 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003178/0.02532, allocations: 52 kB / 0.7159 GB, free: 7.59 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.0001929/0.02551, allocations: 115.2 kB / 0.716 GB, free: 7.469 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006895/0.0262, allocations: 383.6 kB / 0.7163 GB, free: 7.051 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.0262, allocations: 0 / 0.7163 GB, free: 7.051 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.02654, allocations: 169 kB / 0.7165 GB, free: 6.867 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.02703, allocations: 76.27 kB / 0.7166 GB, free: 6.793 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.02832, allocations: 0.5703 MB / 0.7171 GB, free: 6.191 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.02847, allocations: 129.6 kB / 0.7173 GB, free: 6.043 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.02858, allocations: 21.95 kB / 0.7173 GB, free: 6.02 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.02865, allocations: 24.48 kB / 0.7173 GB, free: 5.996 MB / 426.8 MB Notification: Performance of SimCode: time 1.062e-06/0.02865, allocations: 0 / 0.7173 GB, free: 5.996 MB / 426.8 MB Notification: Performance of Templates: time 0.2389/0.2675, allocations: 3.337 MB / 0.7206 GB, free: 36.43 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.899782893946394]