Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.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.001848/0.001848, 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.002091/0.002091, 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.623/1.623, 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.359/1.359, allocations: 292.9 MB / 0.5392 GB, free: 49.83 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.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine") translateModel(Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.6999 GB, free: 8.566 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.284e-05, allocations: 7.625 kB / 0.6999 GB, free: 8.559 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine): time 0.009745/0.009778, allocations: 2.291 MB / 0.7021 GB, free: 6.25 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.01102, allocations: 0.5922 MB / 0.7027 GB, free: 5.656 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.01113, allocations: 4 kB / 0.7027 GB, free: 5.652 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.01127, allocations: 23.72 kB / 0.7027 GB, free: 5.629 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.01153, allocations: 83.27 kB / 0.7028 GB, free: 5.547 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.01176, allocations: 63.86 kB / 0.7029 GB, free: 5.484 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.01207, allocations: 258.6 kB / 0.7031 GB, free: 5.23 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.01222, allocations: 36.56 kB / 0.7031 GB, free: 5.199 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00324/0.01546, allocations: 143.6 kB / 0.7033 GB, free: 5.059 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.01569, allocations: 83.78 kB / 0.7034 GB, free: 4.977 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.01574, allocations: 16 kB / 0.7034 GB, free: 4.961 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.272e-05/0.01578, allocations: 16 kB / 0.7034 GB, free: 4.945 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.01582, allocations: 43.77 kB / 0.7034 GB, free: 4.902 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.01593, allocations: 71.84 kB / 0.7035 GB, free: 4.832 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.01621, allocations: 207.3 kB / 0.7037 GB, free: 4.629 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.01622, allocations: 3.938 kB / 0.7037 GB, free: 4.625 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01622, allocations: 0 / 0.7037 GB, free: 4.625 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.01622, allocations: 0 / 0.7037 GB, free: 4.625 MB / 410.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.0009658/0.01719, allocations: 492.8 kB / 0.7042 GB, free: 4.098 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.01723, allocations: 8.031 kB / 0.7042 GB, free: 4.09 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.334e-05/0.01731, allocations: 28.78 kB / 0.7042 GB, free: 4.062 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.01755, allocations: 182.4 kB / 0.7044 GB, free: 3.855 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.01758, allocations: 24.53 kB / 0.7044 GB, free: 3.832 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.01762, allocations: 12.38 kB / 0.7044 GB, free: 3.82 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.01805, allocations: 194.5 kB / 0.7046 GB, free: 3.617 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.01807, allocations: 3.953 kB / 0.7046 GB, free: 3.613 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.01809, allocations: 4 kB / 0.7046 GB, free: 3.609 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.0181, allocations: 4 kB / 0.7046 GB, free: 3.605 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.01856, allocations: 146.2 kB / 0.7048 GB, free: 3.457 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000931/0.01949, allocations: 489.5 kB / 0.7052 GB, free: 2.945 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.02012, allocations: 168.2 kB / 0.7054 GB, free: 2.766 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.02035, allocations: 98.52 kB / 0.7055 GB, free: 2.66 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.02037, allocations: 0 / 0.7055 GB, free: 2.66 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003884/0.02076, allocations: 239.6 kB / 0.7057 GB, free: 2.398 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.02076, allocations: 4 kB / 0.7057 GB, free: 2.395 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.004788/0.02555, allocations: 0.6945 MB / 0.7064 GB, free: 1.637 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.0256, allocations: 144.5 kB / 0.7065 GB, free: 1.465 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.02583, allocations: 211 kB / 0.7067 GB, free: 1.25 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.02586, allocations: 33.7 kB / 0.7068 GB, free: 1.211 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.02593, allocations: 136.5 kB / 0.7069 GB, free: 1.074 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/0.02599, allocations: 67.5 kB / 0.7069 GB, free: 1.008 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.0261, allocations: 45.7 kB / 0.707 GB, free: 0.957 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.887e-05/0.02616, allocations: 342.8 kB / 0.7073 GB, free: 0.6133 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.02644, allocations: 140.9 kB / 0.7075 GB, free: 468 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.02674, allocations: 225.3 kB / 0.7077 GB, free: 196 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003636/0.03037, allocations: 288.8 kB / 0.7079 GB, free: 15.87 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.03038, allocations: 3.938 kB / 0.7079 GB, free: 15.86 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001034/0.03141, allocations: 398.3 kB / 0.7083 GB, free: 15.45 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.093e-05/0.03149, allocations: 59.41 kB / 0.7084 GB, free: 15.38 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.0315, allocations: 0 / 0.7084 GB, free: 15.38 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.03152, allocations: 4 kB / 0.7084 GB, free: 15.37 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.03186, allocations: 55.84 kB / 0.7084 GB, free: 15.32 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.03187, allocations: 4 kB / 0.7084 GB, free: 15.31 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.03215, allocations: 19.98 kB / 0.7085 GB, free: 15.29 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.03219, allocations: 11.98 kB / 0.7085 GB, free: 15.28 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.0003049/0.0325, allocations: 185 kB / 0.7087 GB, free: 15.09 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.03256, allocations: 19.89 kB / 0.7087 GB, free: 15.07 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.152e-05/0.03263, allocations: 21.97 kB / 0.7087 GB, free: 15.04 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.03263, allocations: 0 / 0.7087 GB, free: 15.04 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.03264, allocations: 3.938 kB / 0.7087 GB, free: 15.04 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.03265, allocations: 3.984 kB / 0.7087 GB, free: 15.04 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005358/0.038, allocations: 0.5406 MB / 0.7092 GB, free: 14.45 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.03801, allocations: 4 kB / 0.7092 GB, free: 14.44 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.03829, allocations: 31.92 kB / 0.7093 GB, free: 14.41 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.0383, allocations: 3.984 kB / 0.7093 GB, free: 14.41 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.03834, allocations: 11.98 kB / 0.7093 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.03835, allocations: 4 kB / 0.7093 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.03835, allocations: 0 / 0.7093 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.0396, allocations: 0.4959 MB / 0.7098 GB, free: 13.86 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.03967, allocations: 15.86 kB / 0.7098 GB, free: 13.85 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003075/0.04274, allocations: 12 kB / 0.7098 GB, free: 13.84 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.04301, allocations: 12.03 kB / 0.7098 GB, free: 13.82 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.04313, allocations: 27.95 kB / 0.7098 GB, free: 13.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.04315, allocations: 4 kB / 0.7098 GB, free: 13.79 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002591/0.04341, allocations: 160.4 kB / 0.71 GB, free: 13.64 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.04341, allocations: 0 / 0.71 GB, free: 13.64 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0005532/0.04397, allocations: 59.92 kB / 0.71 GB, free: 13.58 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.0002034/0.04417, allocations: 117.7 kB / 0.7102 GB, free: 13.46 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009431/0.04511, allocations: 383.6 kB / 0.7105 GB, free: 13.04 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.04511, allocations: 0 / 0.7105 GB, free: 13.04 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004067/0.04552, allocations: 173 kB / 0.7107 GB, free: 12.85 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00372/0.04924, allocations: 75.02 kB / 0.7108 GB, free: 12.78 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.05089, allocations: 0.5691 MB / 0.7113 GB, free: 12.18 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.05105, allocations: 125.6 kB / 0.7114 GB, free: 12.04 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.05116, allocations: 29.92 kB / 0.7115 GB, free: 12.01 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.05123, allocations: 20.5 kB / 0.7115 GB, free: 11.99 MB / 426.8 MB Notification: Performance of SimCode: time 6.82e-07/0.05123, allocations: 0 / 0.7115 GB, free: 11.99 MB / 426.8 MB Notification: Performance of Templates: time 0.008736/0.05997, allocations: 3.326 MB / 0.7147 GB, free: 8.809 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.922194213140756]