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.00101/0.00101, allocations: 104.3 kB / 19.71 MB, free: 436 kB / 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.001137/0.001137, allocations: 219.9 kB / 23 MB, free: 2.969 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.004/1.004, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7377/0.7377, allocations: 312.3 MB / 0.6108 GB, free: 97.58 MB / 410.7 MB " [Timeout remaining time 179] 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.001496/0.001496, allocations: 69.33 kB / 0.7698 GB, free: 20.2 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1497, allocations: 73.99 MB / 0.8421 GB, free: 10.35 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_Fan2023v2_PD_plt): time 0.001515/0.1512, allocations: 0.5906 MB / 0.8427 GB, free: 9.773 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.94e-05/0.1512, allocations: 12.58 kB / 0.8427 GB, free: 9.762 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.1513, allocations: 4.562 kB / 0.8427 GB, free: 9.758 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.1513, allocations: 0 / 0.8427 GB, free: 9.758 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.1513, allocations: 0.625 kB / 0.8427 GB, free: 9.758 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.068e-05/0.1514, allocations: 3.984 kB / 0.8427 GB, free: 9.754 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.702e-05/0.1515, allocations: 12.56 kB / 0.8427 GB, free: 9.742 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.1515, allocations: 8.484 kB / 0.8427 GB, free: 9.734 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.1515, allocations: 8.438 kB / 0.8427 GB, free: 9.727 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.1516, allocations: 7.984 kB / 0.8427 GB, free: 9.719 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1516, allocations: 0.6562 kB / 0.8427 GB, free: 9.719 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.683e-06/0.1516, allocations: 4 kB / 0.8427 GB, free: 9.715 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.1516, allocations: 4.5 kB / 0.8427 GB, free: 9.711 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.1516, allocations: 0.5 kB / 0.8427 GB, free: 9.711 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.216e-05/0.1517, allocations: 20.44 kB / 0.8428 GB, free: 9.691 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1517, allocations: 0 / 0.8428 GB, free: 9.691 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1517, allocations: 0.5 kB / 0.8428 GB, free: 9.691 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.1517, allocations: 0.625 kB / 0.8428 GB, free: 9.691 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.0004914/0.1522, allocations: 255 kB / 0.843 GB, free: 9.41 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1522, allocations: 8.031 kB / 0.843 GB, free: 9.402 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.1523, allocations: 5.469 kB / 0.843 GB, free: 9.398 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.521e-05/0.1524, allocations: 115.1 kB / 0.8431 GB, free: 9.262 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1524, allocations: 4.375 kB / 0.8431 GB, free: 9.258 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.1524, allocations: 1 kB / 0.8431 GB, free: 9.258 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.782e-05/0.1525, allocations: 38.72 kB / 0.8432 GB, free: 9.215 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1525, allocations: 192 / 0.8432 GB, free: 9.215 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1525, allocations: 4.5 kB / 0.8432 GB, free: 9.211 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1525, allocations: 0.75 kB / 0.8432 GB, free: 9.211 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.341e-05/0.1525, allocations: 15.98 kB / 0.8432 GB, free: 9.195 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.1527, allocations: 101.8 kB / 0.8433 GB, free: 9.066 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.1529, allocations: 51.28 kB / 0.8433 GB, free: 9.008 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.153, allocations: 12.8 kB / 0.8433 GB, free: 8.992 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.153, allocations: 8.5 kB / 0.8433 GB, free: 8.984 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.153, allocations: 35.22 kB / 0.8434 GB, free: 8.941 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.153, allocations: 0 / 0.8434 GB, free: 8.941 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.000138/0.1531, allocations: 54.34 kB / 0.8434 GB, free: 8.883 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.1531, allocations: 52.06 kB / 0.8435 GB, free: 8.82 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.815e-05/0.1532, allocations: 105.8 kB / 0.8436 GB, free: 8.707 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.1532, allocations: 26.39 kB / 0.8436 GB, free: 8.676 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.402e-05/0.1532, allocations: 80.14 kB / 0.8437 GB, free: 8.594 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.1533, allocations: 8.609 kB / 0.8437 GB, free: 8.586 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.1533, allocations: 17.72 kB / 0.8437 GB, free: 8.562 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.933e-05/0.1534, allocations: 315.5 kB / 0.844 GB, free: 8.246 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.1534, allocations: 7.938 kB / 0.844 GB, free: 8.238 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.157e-05/0.1534, allocations: 8.5 kB / 0.844 GB, free: 8.23 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.1534, allocations: 17.48 kB / 0.844 GB, free: 8.211 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1534, allocations: 0 / 0.844 GB, free: 8.211 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.873e-05/0.1535, allocations: 50.42 kB / 0.8441 GB, free: 8.156 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1535, allocations: 4.5 kB / 0.8441 GB, free: 8.152 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1535, allocations: 0.5 kB / 0.8441 GB, free: 8.152 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1535, allocations: 3.984 kB / 0.8441 GB, free: 8.148 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.882e-05/0.1535, allocations: 8.578 kB / 0.8441 GB, free: 8.141 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1535, allocations: 8.562 kB / 0.8441 GB, free: 8.133 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.008e-05/0.1536, allocations: 0 / 0.8441 GB, free: 8.133 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.1536, allocations: 0.625 kB / 0.8441 GB, free: 8.133 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 5.54e-05/0.1536, allocations: 106.4 kB / 0.8442 GB, free: 8.02 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-06/0.1536, allocations: 7.984 kB / 0.8442 GB, free: 8.012 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.682e-05/0.1536, allocations: 8.406 kB / 0.8442 GB, free: 8.004 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1536, allocations: 4.562 kB / 0.8442 GB, free: 8 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1536, allocations: 0 / 0.8442 GB, free: 8 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1536, allocations: 0.5625 kB / 0.8442 GB, free: 8 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.933e-05/0.1537, allocations: 105.3 kB / 0.8443 GB, free: 7.867 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.1537, allocations: 0.6562 kB / 0.8443 GB, free: 7.867 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.1537, allocations: 8.734 kB / 0.8443 GB, free: 7.859 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.1537, allocations: 0 / 0.8443 GB, free: 7.859 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1537, allocations: 4.5 kB / 0.8444 GB, free: 7.855 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.1537, allocations: 0.5312 kB / 0.8444 GB, free: 7.855 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1537, allocations: 7.875 kB / 0.8444 GB, free: 7.848 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.189e-05/0.1538, allocations: 77.64 kB / 0.8444 GB, free: 7.754 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-06/0.1538, allocations: 4.531 kB / 0.8444 GB, free: 7.75 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-06/0.1538, allocations: 0 / 0.8444 GB, free: 7.75 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-06/0.1538, allocations: 0.6875 kB / 0.8444 GB, free: 7.75 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.1538, allocations: 7.938 kB / 0.8444 GB, free: 7.742 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-06/0.1538, allocations: 0.5 kB / 0.8444 GB, free: 7.742 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.374e-05/0.1539, allocations: 87.8 kB / 0.8445 GB, free: 7.656 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1539, allocations: 0.625 kB / 0.8445 GB, free: 7.656 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000106/0.154, allocations: 8 kB / 0.8445 GB, free: 7.648 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 7.364e-05/0.154, allocations: 99.88 kB / 0.8446 GB, free: 7.539 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.032e-05/0.1541, allocations: 12.61 kB / 0.8446 GB, free: 7.527 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1541, allocations: 0.5 kB / 0.8446 GB, free: 7.527 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/0.1541, allocations: 16.56 kB / 0.8447 GB, free: 7.512 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.1542, allocations: 0 / 0.8447 GB, free: 7.512 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002109/0.1544, allocations: 131.3 kB / 0.8448 GB, free: 7.352 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.185e-05/0.1545, allocations: 63.94 kB / 0.8448 GB, free: 7.27 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.1545, allocations: 8.125 kB / 0.8449 GB, free: 7.262 MB / 474.8 MB Notification: Performance of SimCode: time 7.71e-07/0.1545, allocations: 0 / 0.8449 GB, free: 7.262 MB / 474.8 MB Notification: Performance of Templates: time 0.001355/0.1559, allocations: 494.8 kB / 0.8453 GB, free: 6.797 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 > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_Fan2023v2_PD_plt.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.161626857705414]