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.001925/0.001925, allocations: 109.5 kB / 18.95 MB, free: 1.176 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.002057/0.002057, allocations: 218.4 kB / 22.25 MB, free: 3.566 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.829/1.829, allocations: 230.6 MB / 256 MB, free: 9.594 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.417/1.417, allocations: 316.8 MB / 0.6144 GB, free: 93.4 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: 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.005268/0.005268, allocations: 77.19 kB / 0.775 GB, free: 15.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.161, allocations: 73.99 MB / 0.8473 GB, free: 5.168 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference): time 0.004104/0.1651, allocations: 2.292 MB / 0.8495 GB, free: 2.879 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4453/0.6104, allocations: 6.52 MB / 0.8559 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003573/0.6108, allocations: 5.781 kB / 0.8559 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.611, allocations: 24.31 kB / 0.8559 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.6115, allocations: 79.7 kB / 0.856 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.6118, allocations: 55.06 kB / 0.856 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003928/0.6122, allocations: 260.8 kB / 0.8563 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.6123, allocations: 32.62 kB / 0.8563 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.6125, allocations: 98.11 kB / 0.8564 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.6128, allocations: 105.1 kB / 0.8565 GB, free: 21.51 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.6129, allocations: 17.16 kB / 0.8565 GB, free: 21.51 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.162e-05/0.6129, allocations: 17.16 kB / 0.8565 GB, free: 21.51 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/0.613, allocations: 35.23 kB / 0.8566 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.6131, allocations: 97.31 kB / 0.8567 GB, free: 21.47 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.6134, allocations: 195.5 kB / 0.8568 GB, free: 21.44 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6134, allocations: 0 / 0.8568 GB, free: 21.44 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6134, allocations: 1.656 kB / 0.8568 GB, free: 21.44 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.6134, allocations: 0 / 0.8568 GB, free: 21.44 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.0009759/0.6144, allocations: 0.4899 MB / 0.8573 GB, free: 21.04 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.6145, allocations: 12.53 kB / 0.8573 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.6145, allocations: 23.33 kB / 0.8574 GB, free: 21.03 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.6148, allocations: 184.8 kB / 0.8575 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.6148, allocations: 12.67 kB / 0.8575 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.6149, allocations: 21.05 kB / 0.8576 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.6153, allocations: 191.5 kB / 0.8577 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.6154, allocations: 1.219 kB / 0.8577 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.6154, allocations: 5.969 kB / 0.8578 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.6154, allocations: 3.375 kB / 0.8578 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004552/0.6158, allocations: 148.3 kB / 0.8579 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009271/0.6168, allocations: 487.9 kB / 0.8584 GB, free: 20.46 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.6174, allocations: 171.7 kB / 0.8585 GB, free: 20.4 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.6176, allocations: 95.09 kB / 0.8586 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.6177, allocations: 0 / 0.8586 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004246/0.6181, allocations: 229 kB / 0.8588 GB, free: 20.21 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.6181, allocations: 0 / 0.8588 GB, free: 20.21 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001931/0.62, allocations: 0.7071 MB / 0.8595 GB, free: 19.86 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.6201, allocations: 139.1 kB / 0.8597 GB, free: 19.7 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.6204, allocations: 210.6 kB / 0.8599 GB, free: 19.6 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.6204, allocations: 37.08 kB / 0.8599 GB, free: 19.56 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.6205, allocations: 135.5 kB / 0.86 GB, free: 19.46 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.51e-05/0.6206, allocations: 72.3 kB / 0.8601 GB, free: 19.42 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.6207, allocations: 57.56 kB / 0.8602 GB, free: 19.41 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.6208, allocations: 333.4 kB / 0.8605 GB, free: 19.09 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.6211, allocations: 144.9 kB / 0.8606 GB, free: 19.02 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.6214, allocations: 222.9 kB / 0.8608 GB, free: 18.85 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/0.622, allocations: 281.6 kB / 0.8611 GB, free: 18.69 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.622, allocations: 0 / 0.8611 GB, free: 18.69 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008144/0.6228, allocations: 392.2 kB / 0.8615 GB, free: 18.5 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/0.6229, allocations: 61.97 kB / 0.8615 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.6229, allocations: 8.812 kB / 0.8615 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/0.6229, allocations: 4.031 kB / 0.8615 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.6232, allocations: 48.72 kB / 0.8616 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.6232, allocations: 3.906 kB / 0.8616 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.6235, allocations: 19.97 kB / 0.8616 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.6235, allocations: 10.19 kB / 0.8616 GB, free: 18.43 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.0002443/0.6237, allocations: 177.3 kB / 0.8618 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.6238, allocations: 23.48 kB / 0.8618 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.6238, allocations: 32.23 kB / 0.8618 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.6239, allocations: 3.5 kB / 0.8618 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.6239, allocations: 0 / 0.8618 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.6239, allocations: 1.875 kB / 0.8618 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009312/0.6248, allocations: 0.5444 MB / 0.8624 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6248, allocations: 7.266 kB / 0.8624 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.6251, allocations: 31.2 kB / 0.8624 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6251, allocations: 1.656 kB / 0.8624 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.6251, allocations: 8.547 kB / 0.8624 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.6251, allocations: 5.125 kB / 0.8624 GB, free: 17.94 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6251, allocations: 4.344 kB / 0.8624 GB, free: 17.94 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009409/0.626, allocations: 0.4904 MB / 0.8629 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.6261, allocations: 23.17 kB / 0.8629 GB, free: 17.68 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/0.6261, allocations: 9.016 kB / 0.8629 GB, free: 17.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.6264, allocations: 14.09 kB / 0.8629 GB, free: 17.68 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.6265, allocations: 25.44 kB / 0.863 GB, free: 17.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.6265, allocations: 4.438 kB / 0.863 GB, free: 17.68 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001611/0.6267, allocations: 157.5 kB / 0.8631 GB, free: 17.61 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6267, allocations: 0 / 0.8631 GB, free: 17.61 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004642/0.6271, allocations: 61.62 kB / 0.8632 GB, free: 17.6 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 0.0001376/0.6273, allocations: 111.8 kB / 0.8633 GB, free: 17.51 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007449/0.628, allocations: 380.7 kB / 0.8637 GB, free: 17.28 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.628, allocations: 2.125 kB / 0.8637 GB, free: 17.28 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.6283, allocations: 170.9 kB / 0.8638 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.629, allocations: 73.27 kB / 0.8639 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.6307, allocations: 0.6819 MB / 0.8646 GB, free: 16.86 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.6308, allocations: 127.8 kB / 0.8647 GB, free: 16.78 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.00015/0.631, allocations: 21.67 kB / 0.8647 GB, free: 16.78 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.631, allocations: 19.95 kB / 0.8647 GB, free: 16.77 MB / 490.8 MB Notification: Performance of SimCode: time 9.02e-07/0.631, allocations: 1.312 kB / 0.8647 GB, free: 16.77 MB / 490.8 MB Notification: Performance of Templates: time 0.01129/0.6423, allocations: 3.637 MB / 0.8683 GB, free: 16.46 MB / 490.8 MB " [Timeout remaining time 659] 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.960286358138546]