Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_PerezRuixo2012_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.0009808/0.0009808, allocations: 104.4 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.001184/0.001184, allocations: 215.5 kB / 23.01 MB, free: 2.934 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.01/1.01, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7516/0.7516, allocations: 312.3 MB / 0.6108 GB, free: 97.63 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_PerezRuixo2012_PD_plt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_PerezRuixo2012_PD_plt") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_PerezRuixo2012_PD_plt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_PerezRuixo2012_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.001435/0.001435, allocations: 72.14 kB / 0.7698 GB, free: 20.23 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1272, allocations: 73.99 MB / 0.8421 GB, free: 10.37 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_PerezRuixo2012_PD_plt): time 0.00134/0.1286, allocations: 0.5949 MB / 0.8426 GB, free: 9.789 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.63e-05/0.1286, allocations: 16.69 kB / 0.8427 GB, free: 9.773 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.499e-05/0.1286, allocations: 0 / 0.8427 GB, free: 9.773 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.305e-05/0.1286, allocations: 0.5625 kB / 0.8427 GB, free: 9.773 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.347e-05/0.1287, allocations: 4.5 kB / 0.8427 GB, free: 9.77 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.916e-05/0.1287, allocations: 0 / 0.8427 GB, free: 9.77 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.864e-05/0.1288, allocations: 16.61 kB / 0.8427 GB, free: 9.754 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.1288, allocations: 8.469 kB / 0.8427 GB, free: 9.746 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/0.1289, allocations: 11.92 kB / 0.8427 GB, free: 9.734 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.1289, allocations: 8.547 kB / 0.8427 GB, free: 9.727 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.1289, allocations: 4 kB / 0.8427 GB, free: 9.723 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.659e-06/0.1289, allocations: 0.5938 kB / 0.8427 GB, free: 9.723 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.1289, allocations: 4.578 kB / 0.8427 GB, free: 9.719 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.129, allocations: 7.938 kB / 0.8427 GB, free: 9.711 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.765e-05/0.129, allocations: 12.64 kB / 0.8427 GB, free: 9.699 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.129, allocations: 0 / 0.8427 GB, free: 9.699 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.154e-06/0.129, allocations: 0.625 kB / 0.8427 GB, free: 9.699 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.129, allocations: 0 / 0.8427 GB, free: 9.699 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.0005511/0.1296, allocations: 255 kB / 0.843 GB, free: 9.418 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1296, allocations: 8.531 kB / 0.843 GB, free: 9.41 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.1296, allocations: 5.562 kB / 0.843 GB, free: 9.406 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.611e-05/0.1297, allocations: 110.4 kB / 0.8431 GB, free: 9.273 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.1297, allocations: 5 kB / 0.8431 GB, free: 9.27 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.1297, allocations: 0.9688 kB / 0.8431 GB, free: 9.27 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.597e-05/0.1298, allocations: 42.23 kB / 0.8431 GB, free: 9.223 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1298, allocations: 0.75 kB / 0.8431 GB, free: 9.223 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1298, allocations: 4.562 kB / 0.8432 GB, free: 9.219 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1298, allocations: 0 / 0.8432 GB, free: 9.219 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.441e-05/0.1299, allocations: 12.56 kB / 0.8432 GB, free: 9.207 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/0.13, allocations: 105.4 kB / 0.8433 GB, free: 9.074 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.1302, allocations: 51.81 kB / 0.8433 GB, free: 9.016 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.1302, allocations: 16.78 kB / 0.8433 GB, free: 8.996 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.1302, allocations: 0.6562 kB / 0.8433 GB, free: 8.996 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.1303, allocations: 30.56 kB / 0.8434 GB, free: 8.957 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1303, allocations: 4.625 kB / 0.8434 GB, free: 8.953 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001201/0.1304, allocations: 54.28 kB / 0.8434 GB, free: 8.895 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.1304, allocations: 55.41 kB / 0.8435 GB, free: 8.828 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.434e-05/0.1305, allocations: 102.4 kB / 0.8436 GB, free: 8.719 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.1305, allocations: 29.7 kB / 0.8436 GB, free: 8.684 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.473e-05/0.1305, allocations: 80.73 kB / 0.8437 GB, free: 8.602 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1305, allocations: 16.7 kB / 0.8437 GB, free: 8.586 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.1305, allocations: 17.72 kB / 0.8437 GB, free: 8.562 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.236e-05/0.1306, allocations: 311.5 kB / 0.844 GB, free: 8.25 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.1306, allocations: 11.98 kB / 0.844 GB, free: 8.238 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.115e-05/0.1306, allocations: 4.625 kB / 0.844 GB, free: 8.234 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.1307, allocations: 16.8 kB / 0.844 GB, free: 8.215 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1307, allocations: 4.625 kB / 0.844 GB, free: 8.211 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.852e-05/0.1307, allocations: 42.38 kB / 0.8441 GB, free: 8.164 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1307, allocations: 8 kB / 0.8441 GB, free: 8.156 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1307, allocations: 4.469 kB / 0.8441 GB, free: 8.152 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1307, allocations: 4.625 kB / 0.8441 GB, free: 8.148 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.742e-05/0.1308, allocations: 4 kB / 0.8441 GB, free: 8.145 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1308, allocations: 0.8125 kB / 0.8441 GB, free: 8.145 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.06e-05/0.1308, allocations: 0 / 0.8441 GB, free: 8.145 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1308, allocations: 8.562 kB / 0.8441 GB, free: 8.137 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 4.961e-05/0.1308, allocations: 108 kB / 0.8442 GB, free: 8.023 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-06/0.1308, allocations: 4.672 kB / 0.8442 GB, free: 8.02 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/0.1309, allocations: 15.98 kB / 0.8442 GB, free: 8 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1309, allocations: 4.562 kB / 0.8442 GB, free: 7.996 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1309, allocations: 0 / 0.8442 GB, free: 7.996 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1309, allocations: 0.625 kB / 0.8442 GB, free: 7.996 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.449e-05/0.1309, allocations: 102 kB / 0.8443 GB, free: 7.867 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.1309, allocations: 336 / 0.8443 GB, free: 7.867 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.364e-05/0.1309, allocations: 16.55 kB / 0.8443 GB, free: 7.852 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1309, allocations: 0 / 0.8443 GB, free: 7.852 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.131, allocations: 0.5 kB / 0.8443 GB, free: 7.852 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.131, allocations: 0.5938 kB / 0.8443 GB, free: 7.852 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.131, allocations: 3.938 kB / 0.8444 GB, free: 7.848 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.791e-05/0.131, allocations: 73.73 kB / 0.8444 GB, free: 7.758 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.131, allocations: 8.516 kB / 0.8444 GB, free: 7.75 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-06/0.131, allocations: 0 / 0.8444 GB, free: 7.75 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-06/0.131, allocations: 0.625 kB / 0.8444 GB, free: 7.75 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.131, allocations: 3.938 kB / 0.8444 GB, free: 7.746 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.1311, allocations: 8.531 kB / 0.8444 GB, free: 7.738 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.639e-05/0.1311, allocations: 87.86 kB / 0.8445 GB, free: 7.652 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1311, allocations: 0 / 0.8445 GB, free: 7.652 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001037/0.1312, allocations: 4.594 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.211e-05/0.1313, allocations: 107.6 kB / 0.8446 GB, free: 7.535 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 6.955e-05/0.1313, allocations: 16.83 kB / 0.8447 GB, free: 7.52 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1313, allocations: 4 kB / 0.8447 GB, free: 7.516 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 8.115e-06/0.1313, allocations: 4.594 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.0001014/0.1314, allocations: 0.5938 kB / 0.8447 GB, free: 7.512 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.1316, allocations: 135.3 kB / 0.8448 GB, free: 7.348 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.349e-05/0.1317, allocations: 67.91 kB / 0.8449 GB, free: 7.262 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.1317, allocations: 8.031 kB / 0.8449 GB, free: 7.254 MB / 474.8 MB Notification: Performance of SimCode: time 4.31e-07/0.1317, allocations: 3.938 kB / 0.8449 GB, free: 7.25 MB / 474.8 MB Notification: Performance of Templates: time 0.001314/0.133, allocations: 0.4955 MB / 0.8453 GB, free: 6.777 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_PerezRuixo2012_PD_plt.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_PerezRuixo2012_PD_plt.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_PerezRuixo2012_PD_plt.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_PerezRuixo2012_PD_plt.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_PerezRuixo2012_PD_plt.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_PerezRuixo2012_PD_plt > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_PerezRuixo2012_PD_plt.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.892037319950759]