Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference.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.00182/0.00182, allocations: 84.44 kB / 19.17 MB, free: 0.7305 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.001984/0.001984, allocations: 173.9 kB / 22.46 MB, free: 2.098 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.582/1.582, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.397/1.397, allocations: 292.9 MB / 0.5392 GB, free: 49.79 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.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.6999 GB, free: 8.629 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.417e-05, allocations: 10.22 kB / 0.6999 GB, free: 8.617 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference): time 0.003305/0.003339, allocations: 2.296 MB / 0.7021 GB, free: 6.305 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006796/0.01013, allocations: 6.53 MB / 0.7085 GB, free: 15.77 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.01035, allocations: 4 kB / 0.7085 GB, free: 15.76 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.01054, allocations: 23.72 kB / 0.7085 GB, free: 15.74 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.0109, allocations: 91.19 kB / 0.7086 GB, free: 15.65 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.01119, allocations: 55.88 kB / 0.7087 GB, free: 15.59 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004754/0.01167, allocations: 266.6 kB / 0.7089 GB, free: 15.33 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.01183, allocations: 32.58 kB / 0.7089 GB, free: 15.3 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003655/0.0122, allocations: 143.6 kB / 0.7091 GB, free: 15.16 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.01248, allocations: 79.78 kB / 0.7092 GB, free: 15.09 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.01253, allocations: 16 kB / 0.7092 GB, free: 15.07 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-05/0.01258, allocations: 20 kB / 0.7092 GB, free: 15.05 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.064e-05/0.01263, allocations: 35.78 kB / 0.7092 GB, free: 15.02 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.01276, allocations: 75.83 kB / 0.7093 GB, free: 14.94 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.01313, allocations: 207.2 kB / 0.7095 GB, free: 14.74 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.01313, allocations: 8 kB / 0.7095 GB, free: 14.73 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01314, allocations: 3.938 kB / 0.7095 GB, free: 14.73 MB / 426.8 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.01314, allocations: 0 / 0.7095 GB, free: 14.73 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.001154/0.0143, allocations: 496.8 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.01434, allocations: 12.03 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.965e-05/0.01443, allocations: 20.8 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.0149, allocations: 182.5 kB / 0.7102 GB, free: 13.96 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.01493, allocations: 12.55 kB / 0.7102 GB, free: 13.95 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.01498, allocations: 28.33 kB / 0.7102 GB, free: 13.92 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/0.01545, allocations: 194.5 kB / 0.7104 GB, free: 13.71 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.01548, allocations: 0 / 0.7104 GB, free: 13.71 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.01551, allocations: 4 kB / 0.7104 GB, free: 13.71 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.01552, allocations: 4 kB / 0.7104 GB, free: 13.71 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006339/0.01615, allocations: 146.3 kB / 0.7106 GB, free: 13.56 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.01719, allocations: 477.5 kB / 0.711 GB, free: 13.06 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/0.01777, allocations: 184 kB / 0.7112 GB, free: 12.86 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.01798, allocations: 94.52 kB / 0.7113 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.01799, allocations: 3.984 kB / 0.7113 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/0.01841, allocations: 231.7 kB / 0.7115 GB, free: 12.5 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.734e-06/0.01842, allocations: 3.938 kB / 0.7115 GB, free: 12.5 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001759/0.02018, allocations: 0.7067 MB / 0.7122 GB, free: 11.73 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.0203, allocations: 136.5 kB / 0.7123 GB, free: 11.57 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.02056, allocations: 207.1 kB / 0.7125 GB, free: 11.36 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.0206, allocations: 37.69 kB / 0.7126 GB, free: 11.31 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.02072, allocations: 136.4 kB / 0.7127 GB, free: 11.18 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.0208, allocations: 75.47 kB / 0.7128 GB, free: 11.1 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.0209, allocations: 49.7 kB / 0.7128 GB, free: 11.05 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.0211, allocations: 342.7 kB / 0.7131 GB, free: 10.7 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.02139, allocations: 144.9 kB / 0.7133 GB, free: 10.54 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.02196, allocations: 221.3 kB / 0.7135 GB, free: 10.28 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.02248, allocations: 286.3 kB / 0.7138 GB, free: 9.961 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.02248, allocations: 0 / 0.7138 GB, free: 9.961 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007549/0.02324, allocations: 388.2 kB / 0.7141 GB, free: 9.551 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.477e-05/0.0233, allocations: 63.41 kB / 0.7142 GB, free: 9.477 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.02331, allocations: 4 kB / 0.7142 GB, free: 9.473 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.02333, allocations: 3.984 kB / 0.7142 GB, free: 9.469 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.02357, allocations: 59.84 kB / 0.7143 GB, free: 9.41 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.02357, allocations: 0 / 0.7143 GB, free: 9.41 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.02377, allocations: 19.98 kB / 0.7143 GB, free: 9.391 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.0238, allocations: 8 kB / 0.7143 GB, free: 9.383 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.0002496/0.02405, allocations: 181.6 kB / 0.7145 GB, free: 9.191 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.02409, allocations: 27.8 kB / 0.7145 GB, free: 9.164 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.183e-05/0.02415, allocations: 21.95 kB / 0.7145 GB, free: 9.141 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.02416, allocations: 0 / 0.7145 GB, free: 9.141 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.02417, allocations: 3.938 kB / 0.7145 GB, free: 9.137 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.02417, allocations: 4 kB / 0.7145 GB, free: 9.133 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009385/0.02511, allocations: 0.5329 MB / 0.715 GB, free: 8.551 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.02511, allocations: 0 / 0.715 GB, free: 8.551 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.02532, allocations: 43.97 kB / 0.7151 GB, free: 8.508 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.02532, allocations: 4 kB / 0.7151 GB, free: 8.504 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.02534, allocations: 0 / 0.7151 GB, free: 8.504 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.02535, allocations: 4 kB / 0.7151 GB, free: 8.5 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.02535, allocations: 0 / 0.7151 GB, free: 8.5 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009028/0.02625, allocations: 0.4988 MB / 0.7156 GB, free: 7.973 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.02629, allocations: 19.89 kB / 0.7156 GB, free: 7.953 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.02634, allocations: 8 kB / 0.7156 GB, free: 7.945 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.02653, allocations: 19.98 kB / 0.7156 GB, free: 7.926 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.02662, allocations: 23.91 kB / 0.7156 GB, free: 7.902 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.02664, allocations: 4 kB / 0.7156 GB, free: 7.898 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002056/0.02685, allocations: 164.4 kB / 0.7158 GB, free: 7.738 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02685, allocations: 0 / 0.7158 GB, free: 7.738 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003339/0.02718, allocations: 52 kB / 0.7158 GB, free: 7.688 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.0001629/0.02734, allocations: 115.2 kB / 0.716 GB, free: 7.566 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007026/0.02805, allocations: 383.7 kB / 0.7163 GB, free: 7.148 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02805, allocations: 0 / 0.7163 GB, free: 7.148 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.02834, allocations: 169 kB / 0.7165 GB, free: 6.965 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.02883, allocations: 76.27 kB / 0.7166 GB, free: 6.891 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.03014, allocations: 0.5694 MB / 0.7171 GB, free: 6.293 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.03029, allocations: 133.5 kB / 0.7172 GB, free: 6.141 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.03039, allocations: 21.95 kB / 0.7173 GB, free: 6.117 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.03046, allocations: 24.48 kB / 0.7173 GB, free: 6.094 MB / 426.8 MB Notification: Performance of SimCode: time 4.61e-07/0.03046, allocations: 0 / 0.7173 GB, free: 6.094 MB / 426.8 MB Notification: Performance of Templates: time 0.1935/0.2239, allocations: 3.322 MB / 0.7205 GB, free: 36.98 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.077195083955303]