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.001787/0.001787, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.001963/0.001963, allocations: 218.2 kB / 22.25 MB, free: 3.559 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.674/1.674, allocations: 230.6 MB / 256 MB, free: 9.598 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.574/1.574, allocations: 316.8 MB / 0.6144 GB, free: 93.5 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_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.0053/0.0053, allocations: 77.31 kB / 0.775 GB, free: 15.05 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.162, allocations: 74 MB / 0.8472 GB, free: 5.195 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_PerezRuixo2012_PD_plt): time 0.002003/0.164, allocations: 0.5952 MB / 0.8478 GB, free: 4.613 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.61e-05/0.164, allocations: 4 kB / 0.8478 GB, free: 4.609 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.1641, allocations: 4.594 kB / 0.8478 GB, free: 4.605 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.1641, allocations: 0 / 0.8478 GB, free: 4.605 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 5.01e-05/0.1641, allocations: 4.562 kB / 0.8478 GB, free: 4.602 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.027e-05/0.1642, allocations: 4.719 kB / 0.8478 GB, free: 4.598 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.077e-05/0.1642, allocations: 15.98 kB / 0.8478 GB, free: 4.582 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.1643, allocations: 0.7812 kB / 0.8478 GB, free: 4.582 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.243e-05/0.1643, allocations: 7.984 kB / 0.8478 GB, free: 4.574 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.1644, allocations: 8.594 kB / 0.8478 GB, free: 4.566 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1644, allocations: 4 kB / 0.8478 GB, free: 4.562 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.879e-06/0.1644, allocations: 0.6875 kB / 0.8479 GB, free: 4.562 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.1644, allocations: 3.984 kB / 0.8479 GB, free: 4.559 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.1644, allocations: 12.48 kB / 0.8479 GB, free: 4.547 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.284e-05/0.1645, allocations: 7.922 kB / 0.8479 GB, free: 4.539 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1645, allocations: 0.5938 kB / 0.8479 GB, free: 4.539 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1645, allocations: 0.875 kB / 0.8479 GB, free: 4.539 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1645, allocations: 0 / 0.8479 GB, free: 4.539 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.0004403/0.1649, allocations: 255 kB / 0.8481 GB, free: 4.258 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.165, allocations: 12.03 kB / 0.8481 GB, free: 4.246 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.165, allocations: 5.688 kB / 0.8481 GB, free: 4.242 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.1652, allocations: 122.4 kB / 0.8483 GB, free: 4.098 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.1652, allocations: 0.9062 kB / 0.8483 GB, free: 4.098 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.1652, allocations: 1 kB / 0.8483 GB, free: 4.098 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1653, allocations: 34.25 kB / 0.8483 GB, free: 4.059 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1653, allocations: 0.875 kB / 0.8483 GB, free: 4.059 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1653, allocations: 5.156 kB / 0.8483 GB, free: 4.055 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1653, allocations: 4 kB / 0.8483 GB, free: 4.051 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.155e-05/0.1654, allocations: 8 kB / 0.8483 GB, free: 4.043 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008894/0.1662, allocations: 105.3 kB / 0.8484 GB, free: 3.91 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.1666, allocations: 59.44 kB / 0.8485 GB, free: 3.844 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.038e-05/0.1667, allocations: 17.44 kB / 0.8485 GB, free: 3.824 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.1667, allocations: 3.938 kB / 0.8485 GB, free: 3.82 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1667, allocations: 36.38 kB / 0.8485 GB, free: 3.777 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.1667, allocations: 0 / 0.8485 GB, free: 3.777 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001658/0.1669, allocations: 49.62 kB / 0.8486 GB, free: 3.723 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.1669, allocations: 55.34 kB / 0.8486 GB, free: 3.656 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.167, allocations: 108.2 kB / 0.8487 GB, free: 3.543 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.167, allocations: 25.7 kB / 0.8487 GB, free: 3.512 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.1671, allocations: 88.14 kB / 0.8488 GB, free: 3.422 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.1671, allocations: 7.906 kB / 0.8488 GB, free: 3.414 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.1672, allocations: 13.72 kB / 0.8488 GB, free: 3.395 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1673, allocations: 318.8 kB / 0.8492 GB, free: 3.074 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.1674, allocations: 4 kB / 0.8492 GB, free: 3.07 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.1674, allocations: 4.656 kB / 0.8492 GB, free: 3.066 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.022e-05/0.1674, allocations: 17.73 kB / 0.8492 GB, free: 3.047 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1674, allocations: 0 / 0.8492 GB, free: 3.047 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.968e-05/0.1675, allocations: 49.62 kB / 0.8492 GB, free: 2.992 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1675, allocations: 8.5 kB / 0.8492 GB, free: 2.988 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1675, allocations: 0 / 0.8492 GB, free: 2.988 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1675, allocations: 3.938 kB / 0.8492 GB, free: 2.984 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.252e-05/0.1676, allocations: 4 kB / 0.8492 GB, free: 2.98 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1676, allocations: 0 / 0.8492 GB, free: 2.98 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.1676, allocations: 0 / 0.8492 GB, free: 2.98 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1676, allocations: 8.719 kB / 0.8492 GB, free: 2.973 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.198e-05/0.1677, allocations: 107.5 kB / 0.8494 GB, free: 2.859 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.1677, allocations: 11.94 kB / 0.8494 GB, free: 2.848 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.1677, allocations: 8 kB / 0.8494 GB, free: 2.836 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1677, allocations: 4.438 kB / 0.8494 GB, free: 2.832 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1677, allocations: 0.6875 kB / 0.8494 GB, free: 2.832 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1677, allocations: 0 / 0.8494 GB, free: 2.832 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.1679, allocations: 105.9 kB / 0.8495 GB, free: 2.699 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1679, allocations: 4.234 kB / 0.8495 GB, free: 2.695 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.1679, allocations: 8.625 kB / 0.8495 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1679, allocations: 0.5625 kB / 0.8495 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1679, allocations: 0 / 0.8495 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1679, allocations: 0.7188 kB / 0.8495 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.1679, allocations: 7.922 kB / 0.8495 GB, free: 2.68 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.168, allocations: 77.62 kB / 0.8496 GB, free: 2.586 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-06/0.168, allocations: 8.391 kB / 0.8496 GB, free: 2.578 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.1681, allocations: 0 / 0.8496 GB, free: 2.578 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.775e-05/0.1681, allocations: 0.5938 kB / 0.8496 GB, free: 2.578 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.1681, allocations: 16.81 kB / 0.8496 GB, free: 2.562 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.1681, allocations: 0 / 0.8496 GB, free: 2.562 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.481e-05/0.1682, allocations: 83.89 kB / 0.8497 GB, free: 2.48 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1682, allocations: 0 / 0.8497 GB, free: 2.48 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001745/0.1683, allocations: 4.531 kB / 0.8497 GB, free: 2.477 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.0001209/0.1685, allocations: 100.4 kB / 0.8498 GB, free: 2.371 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.1686, allocations: 27.91 kB / 0.8498 GB, free: 2.344 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1686, allocations: 0.5625 kB / 0.8498 GB, free: 2.344 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.476e-05/0.1686, allocations: 4.5 kB / 0.8498 GB, free: 2.34 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.1687, allocations: 4 kB / 0.8498 GB, free: 2.336 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.169, allocations: 110.3 kB / 0.8499 GB, free: 2.203 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.76e-05/0.1691, allocations: 67.33 kB / 0.85 GB, free: 2.117 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.642e-05/0.1691, allocations: 0.7812 kB / 0.85 GB, free: 2.117 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.1691, allocations: 11.44 kB / 0.85 GB, free: 2.105 MB / 474.8 MB Notification: Performance of SimCode: time 7.82e-07/0.1691, allocations: 1.656 kB / 0.85 GB, free: 2.105 MB / 474.8 MB Notification: Performance of Templates: time 0.002924/0.1721, allocations: 389 kB / 0.8504 GB, free: 1.797 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BX04_Romiplostim.Romiplostim_PerezRuixo2012_PD_plt.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.532337916083634]