Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_Fan2023v2_PD_plt.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.002006/0.002006, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002482/0.002482, allocations: 213.4 kB / 22.25 MB, free: 3.57 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.694/1.694, allocations: 230.6 MB / 256 MB, free: 9.605 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.613/1.613, allocations: 316.7 MB / 0.6144 GB, free: 93.54 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.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_Fan2023v2_PD_plt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_Fan2023v2_PD_plt") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_Fan2023v2_PD_plt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_Fan2023v2_PD_plt") [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.004673/0.004673, allocations: 77.69 kB / 0.7749 GB, free: 15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1943, allocations: 73.99 MB / 0.8472 GB, free: 5.145 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_Fan2023v2_PD_plt): time 0.002532/0.1968, allocations: 0.5915 MB / 0.8478 GB, free: 4.566 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.801e-05/0.1969, allocations: 4.484 kB / 0.8478 GB, free: 4.562 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.1969, allocations: 0.625 kB / 0.8478 GB, free: 4.562 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.197, allocations: 3.938 kB / 0.8478 GB, free: 4.559 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.197, allocations: 4.531 kB / 0.8478 GB, free: 4.555 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.09e-05/0.1971, allocations: 8.578 kB / 0.8478 GB, free: 4.547 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 8.916e-05/0.1972, allocations: 11.94 kB / 0.8478 GB, free: 4.535 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.012e-05/0.1972, allocations: 8.547 kB / 0.8478 GB, free: 4.527 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.471e-05/0.1973, allocations: 4 kB / 0.8478 GB, free: 4.523 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.328e-05/0.1974, allocations: 16.45 kB / 0.8478 GB, free: 4.508 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.1974, allocations: 0.7188 kB / 0.8478 GB, free: 4.508 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-06/0.1974, allocations: 0 / 0.8478 GB, free: 4.508 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.1974, allocations: 0.625 kB / 0.8478 GB, free: 4.508 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.1974, allocations: 7.938 kB / 0.8478 GB, free: 4.5 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.76e-05/0.1975, allocations: 8.844 kB / 0.8478 GB, free: 4.492 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.1975, allocations: 8 kB / 0.8479 GB, free: 4.484 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1975, allocations: 0.5312 kB / 0.8479 GB, free: 4.484 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1975, allocations: 0.75 kB / 0.8479 GB, free: 4.484 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005592/0.1981, allocations: 251.1 kB / 0.8481 GB, free: 4.207 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.1981, allocations: 11.97 kB / 0.8481 GB, free: 4.195 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.1982, allocations: 1.656 kB / 0.8481 GB, free: 4.195 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1983, allocations: 114.5 kB / 0.8482 GB, free: 4.059 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.1983, allocations: 1.156 kB / 0.8482 GB, free: 4.059 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.1983, allocations: 384 / 0.8482 GB, free: 4.059 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1985, allocations: 42.75 kB / 0.8483 GB, free: 4.012 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1985, allocations: 192 / 0.8483 GB, free: 4.012 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1985, allocations: 4.531 kB / 0.8483 GB, free: 4.008 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1985, allocations: 0 / 0.8483 GB, free: 4.008 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.389e-05/0.1985, allocations: 8.75 kB / 0.8483 GB, free: 4 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.1987, allocations: 109.2 kB / 0.8484 GB, free: 3.863 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.1992, allocations: 55.38 kB / 0.8484 GB, free: 3.801 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.1992, allocations: 5.484 kB / 0.8484 GB, free: 3.793 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.1992, allocations: 4.688 kB / 0.8484 GB, free: 3.789 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.1992, allocations: 38.5 kB / 0.8485 GB, free: 3.742 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1992, allocations: 0.5938 kB / 0.8485 GB, free: 3.742 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001738/0.1994, allocations: 49.91 kB / 0.8485 GB, free: 3.688 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.1995, allocations: 56 kB / 0.8486 GB, free: 3.621 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1996, allocations: 102.3 kB / 0.8487 GB, free: 3.512 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1996, allocations: 26.27 kB / 0.8487 GB, free: 3.48 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.1997, allocations: 84.14 kB / 0.8488 GB, free: 3.395 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.1997, allocations: 4.516 kB / 0.8488 GB, free: 3.391 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.1997, allocations: 18.34 kB / 0.8488 GB, free: 3.367 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1999, allocations: 310.8 kB / 0.8491 GB, free: 3.055 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.1999, allocations: 12.61 kB / 0.8491 GB, free: 3.043 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.1999, allocations: 11.92 kB / 0.8491 GB, free: 3.031 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.024e-05/0.2, allocations: 13.42 kB / 0.8491 GB, free: 3.016 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.2, allocations: 8.562 kB / 0.8491 GB, free: 3.008 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.725e-05/0.2001, allocations: 45.64 kB / 0.8492 GB, free: 2.957 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2001, allocations: 8.625 kB / 0.8492 GB, free: 2.949 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2001, allocations: 3.984 kB / 0.8492 GB, free: 2.945 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2001, allocations: 4.438 kB / 0.8492 GB, free: 2.941 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.565e-05/0.2002, allocations: 5.375 kB / 0.8492 GB, free: 2.938 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2002, allocations: 0 / 0.8492 GB, free: 2.938 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.2002, allocations: 0 / 0.8492 GB, free: 2.938 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.2002, allocations: 7.938 kB / 0.8492 GB, free: 2.93 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 9.804e-05/0.2003, allocations: 110.9 kB / 0.8493 GB, free: 2.812 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-06/0.2003, allocations: 0 / 0.8493 GB, free: 2.812 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.2003, allocations: 17.64 kB / 0.8493 GB, free: 2.797 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2003, allocations: 3.938 kB / 0.8493 GB, free: 2.793 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2004, allocations: 256 / 0.8493 GB, free: 2.793 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2004, allocations: 0 / 0.8493 GB, free: 2.793 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.2005, allocations: 105.3 kB / 0.8494 GB, free: 2.66 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2005, allocations: 0.5 kB / 0.8494 GB, free: 2.66 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.2005, allocations: 7.984 kB / 0.8494 GB, free: 2.652 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2005, allocations: 6.375 kB / 0.8495 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.2005, allocations: 0 / 0.8495 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2005, allocations: 0 / 0.8495 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2005, allocations: 3.938 kB / 0.8495 GB, free: 2.645 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.2006, allocations: 73.08 kB / 0.8495 GB, free: 2.555 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-06/0.2006, allocations: 4 kB / 0.8495 GB, free: 2.551 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.2007, allocations: 2.25 kB / 0.8495 GB, free: 2.551 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/0.2007, allocations: 0 / 0.8495 GB, free: 2.551 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.2007, allocations: 7.875 kB / 0.8495 GB, free: 2.543 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.2007, allocations: 4 kB / 0.8495 GB, free: 2.539 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.734e-05/0.2008, allocations: 83.27 kB / 0.8496 GB, free: 2.457 MB / 474.8 MB Notification: Performance of sort global known variables: time 1e-07/0.2008, allocations: 0 / 0.8496 GB, free: 2.457 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000199/0.201, allocations: 5.25 kB / 0.8496 GB, free: 2.453 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001339/0.2011, allocations: 103.2 kB / 0.8497 GB, free: 2.34 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.47e-05/0.2012, allocations: 12.95 kB / 0.8497 GB, free: 2.328 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.2012, allocations: 4 kB / 0.8497 GB, free: 2.324 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.535e-05/0.2012, allocations: 4 kB / 0.8497 GB, free: 2.32 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.2013, allocations: 12.05 kB / 0.8498 GB, free: 2.312 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.2016, allocations: 105.9 kB / 0.8499 GB, free: 2.184 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.272e-05/0.2017, allocations: 59.94 kB / 0.8499 GB, free: 2.105 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 2.011e-05/0.2017, allocations: 0.5938 kB / 0.8499 GB, free: 2.105 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.2018, allocations: 12 kB / 0.8499 GB, free: 2.094 MB / 474.8 MB Notification: Performance of SimCode: time 5.91e-07/0.2018, allocations: 0.5 kB / 0.8499 GB, free: 2.094 MB / 474.8 MB Notification: Performance of Templates: time 0.003014/0.2048, allocations: 411.3 kB / 0.8503 GB, free: 1.766 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_Fan2023v2_PD_plt.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_Fan2023v2_PD_plt.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_Fan2023v2_PD_plt.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_Fan2023v2_PD_plt.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_Fan2023v2_PD_plt.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_Fan2023v2_PD_plt -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_Fan2023v2_PD_plt.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.393521582009271]