Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine.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.001929/0.001929, 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.002127/0.002127, 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.714/1.714, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.35/1.35, allocations: 293 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.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.6999 GB, free: 8.555 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.607e-05/3.727e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine): time 0.002802/0.002839, allocations: 2.305 MB / 0.7022 GB, free: 6.227 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005075/0.007914, allocations: 6.533 MB / 0.7085 GB, free: 15.68 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.008051, allocations: 4 kB / 0.7085 GB, free: 15.68 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.008185, allocations: 27.72 kB / 0.7086 GB, free: 15.65 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.008439, allocations: 91.2 kB / 0.7087 GB, free: 15.56 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.008671, allocations: 51.86 kB / 0.7087 GB, free: 15.51 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.009056, allocations: 266.6 kB / 0.709 GB, free: 15.25 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.009194, allocations: 32.58 kB / 0.709 GB, free: 15.22 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.009415, allocations: 143.6 kB / 0.7091 GB, free: 15.08 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.009635, allocations: 75.8 kB / 0.7092 GB, free: 15.01 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.009673, allocations: 20 kB / 0.7092 GB, free: 14.99 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.305e-05/0.009716, allocations: 16 kB / 0.7092 GB, free: 14.97 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.009773, allocations: 47.77 kB / 0.7093 GB, free: 14.93 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.009888, allocations: 75.83 kB / 0.7094 GB, free: 14.85 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.01021, allocations: 207.2 kB / 0.7096 GB, free: 14.65 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01021, allocations: 3.938 kB / 0.7096 GB, free: 14.64 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01021, allocations: 3.938 kB / 0.7096 GB, free: 14.64 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.01022, allocations: 0 / 0.7096 GB, free: 14.64 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.001034/0.01125, allocations: 0.4891 MB / 0.71 GB, free: 14.11 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.01129, allocations: 8.031 kB / 0.71 GB, free: 14.1 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.238e-05/0.01136, allocations: 24.8 kB / 0.7101 GB, free: 14.07 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.01167, allocations: 174.5 kB / 0.7102 GB, free: 13.88 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.0117, allocations: 12.61 kB / 0.7102 GB, free: 13.86 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.01174, allocations: 20.27 kB / 0.7103 GB, free: 13.84 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.01221, allocations: 198.2 kB / 0.7105 GB, free: 13.64 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.01223, allocations: 7.984 kB / 0.7105 GB, free: 13.63 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.01226, allocations: 4 kB / 0.7105 GB, free: 13.63 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.01226, allocations: 8 kB / 0.7105 GB, free: 13.62 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.01269, allocations: 138.3 kB / 0.7106 GB, free: 13.48 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009534/0.01364, allocations: 481.5 kB / 0.7111 GB, free: 12.98 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000589/0.01423, allocations: 176.1 kB / 0.7112 GB, free: 12.79 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.01446, allocations: 105.5 kB / 0.7113 GB, free: 12.68 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.01447, allocations: 0 / 0.7113 GB, free: 12.68 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004482/0.01492, allocations: 224.4 kB / 0.7115 GB, free: 12.43 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.01492, allocations: 0 / 0.7115 GB, free: 12.43 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.00188/0.0168, allocations: 0.7145 MB / 0.7122 GB, free: 11.65 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.01694, allocations: 136.5 kB / 0.7124 GB, free: 11.49 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.01725, allocations: 211.1 kB / 0.7126 GB, free: 11.27 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.01729, allocations: 33.7 kB / 0.7126 GB, free: 11.23 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.01741, allocations: 136.4 kB / 0.7127 GB, free: 11.1 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.01749, allocations: 71.42 kB / 0.7128 GB, free: 11.03 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.01759, allocations: 53.69 kB / 0.7129 GB, free: 10.97 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.01781, allocations: 334.8 kB / 0.7132 GB, free: 10.63 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.0181, allocations: 144.9 kB / 0.7133 GB, free: 10.47 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.01845, allocations: 233.9 kB / 0.7135 GB, free: 10.2 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.01897, allocations: 278.2 kB / 0.7138 GB, free: 9.887 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01897, allocations: 0 / 0.7138 GB, free: 9.887 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007331/0.0197, allocations: 392 kB / 0.7142 GB, free: 9.473 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.574e-05/0.01977, allocations: 63.41 kB / 0.7142 GB, free: 9.398 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.01978, allocations: 0 / 0.7142 GB, free: 9.398 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.0198, allocations: 4 kB / 0.7142 GB, free: 9.395 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.02006, allocations: 51.84 kB / 0.7143 GB, free: 9.344 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.02007, allocations: 12.2 kB / 0.7143 GB, free: 9.332 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.02026, allocations: 19.98 kB / 0.7143 GB, free: 9.312 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.02029, allocations: 15.94 kB / 0.7143 GB, free: 9.297 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.0002455/0.02054, allocations: 181.3 kB / 0.7145 GB, free: 9.109 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.02057, allocations: 19.86 kB / 0.7145 GB, free: 9.09 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.048e-05/0.02064, allocations: 25.97 kB / 0.7146 GB, free: 9.062 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.02065, allocations: 0 / 0.7146 GB, free: 9.062 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.02066, allocations: 3.938 kB / 0.7146 GB, free: 9.059 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.02066, allocations: 7.984 kB / 0.7146 GB, free: 9.051 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009747/0.02164, allocations: 0.5393 MB / 0.7151 GB, free: 8.465 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02164, allocations: 0 / 0.7151 GB, free: 8.465 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.02185, allocations: 27.98 kB / 0.7151 GB, free: 8.438 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.02185, allocations: 3.984 kB / 0.7151 GB, free: 8.434 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.02188, allocations: 8 kB / 0.7151 GB, free: 8.426 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.02188, allocations: 0 / 0.7151 GB, free: 8.426 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02188, allocations: 0 / 0.7151 GB, free: 8.426 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009399/0.02282, allocations: 0.5006 MB / 0.7156 GB, free: 7.891 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.02286, allocations: 19.86 kB / 0.7156 GB, free: 7.871 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.02291, allocations: 15.97 kB / 0.7157 GB, free: 7.855 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.0231, allocations: 11.98 kB / 0.7157 GB, free: 7.844 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/0.02319, allocations: 19.97 kB / 0.7157 GB, free: 7.824 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.02321, allocations: 8 kB / 0.7157 GB, free: 7.816 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001872/0.0234, allocations: 160.4 kB / 0.7158 GB, free: 7.66 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.0234, allocations: 4 kB / 0.7158 GB, free: 7.656 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003202/0.02372, allocations: 56 kB / 0.7159 GB, free: 7.602 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.0001723/0.02389, allocations: 111.2 kB / 0.716 GB, free: 7.484 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007034/0.02459, allocations: 378.1 kB / 0.7164 GB, free: 7.074 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.02459, allocations: 0 / 0.7164 GB, free: 7.074 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.0249, allocations: 173.4 kB / 0.7165 GB, free: 6.887 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.02538, allocations: 70.95 kB / 0.7166 GB, free: 6.82 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.0267, allocations: 0.5781 MB / 0.7172 GB, free: 6.211 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.02685, allocations: 133.5 kB / 0.7173 GB, free: 6.059 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 9.901e-05/0.02695, allocations: 17.95 kB / 0.7173 GB, free: 6.039 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.02702, allocations: 20.5 kB / 0.7173 GB, free: 6.02 MB / 426.8 MB Notification: Performance of SimCode: time 5.01e-07/0.02702, allocations: 0 / 0.7173 GB, free: 6.02 MB / 426.8 MB Notification: Performance of Templates: time 0.2377/0.2647, allocations: 3.332 MB / 0.7206 GB, free: 37.02 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.130430479999632]