Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb.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.001916/0.001916, 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.001945/0.001945, allocations: 217.1 kB / 22.25 MB, free: 3.578 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.741/1.741, allocations: 230.6 MB / 256 MB, free: 9.617 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.445/1.445, allocations: 316.7 MB / 0.6144 GB, free: 93.45 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.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb") [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.004013/0.004013, allocations: 73.28 kB / 0.7749 GB, free: 15.09 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1777, allocations: 73.99 MB / 0.8472 GB, free: 5.242 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb): time 0.002103/0.1799, allocations: 0.5933 MB / 0.8478 GB, free: 4.664 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.794e-05/0.1799, allocations: 0.5938 kB / 0.8478 GB, free: 4.664 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.1799, allocations: 4.562 kB / 0.8478 GB, free: 4.66 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.18, allocations: 3.938 kB / 0.8478 GB, free: 4.656 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.652e-05/0.18, allocations: 0.6562 kB / 0.8478 GB, free: 4.656 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.014e-05/0.18, allocations: 8.578 kB / 0.8478 GB, free: 4.648 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.213e-05/0.1801, allocations: 11.92 kB / 0.8478 GB, free: 4.637 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.707e-05/0.1802, allocations: 8.531 kB / 0.8478 GB, free: 4.629 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.659e-05/0.1802, allocations: 8.531 kB / 0.8478 GB, free: 4.621 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/0.1803, allocations: 11.91 kB / 0.8478 GB, free: 4.609 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1803, allocations: 0.625 kB / 0.8478 GB, free: 4.609 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-06/0.1803, allocations: 4 kB / 0.8478 GB, free: 4.605 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.1803, allocations: 0.6875 kB / 0.8478 GB, free: 4.605 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.1803, allocations: 4.781 kB / 0.8478 GB, free: 4.602 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.444e-05/0.1804, allocations: 11.98 kB / 0.8478 GB, free: 4.59 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.1804, allocations: 0 / 0.8478 GB, free: 4.59 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1804, allocations: 0.5938 kB / 0.8478 GB, free: 4.59 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1804, allocations: 0.6562 kB / 0.8478 GB, free: 4.59 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.0004727/0.1809, allocations: 255.2 kB / 0.8481 GB, free: 4.309 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1809, allocations: 11.97 kB / 0.8481 GB, free: 4.297 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.181, allocations: 5.625 kB / 0.8481 GB, free: 4.293 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1811, allocations: 110.5 kB / 0.8482 GB, free: 4.16 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.1811, allocations: 1.031 kB / 0.8482 GB, free: 4.16 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.1811, allocations: 4.375 kB / 0.8482 GB, free: 4.156 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.1812, allocations: 38.98 kB / 0.8482 GB, free: 4.113 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1812, allocations: 192 / 0.8483 GB, free: 4.113 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1812, allocations: 4.531 kB / 0.8483 GB, free: 4.109 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1813, allocations: 0 / 0.8483 GB, free: 4.109 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.812e-05/0.1813, allocations: 16.52 kB / 0.8483 GB, free: 4.094 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.1815, allocations: 110.1 kB / 0.8484 GB, free: 3.957 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.1819, allocations: 50.66 kB / 0.8484 GB, free: 3.898 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.1819, allocations: 14.08 kB / 0.8484 GB, free: 3.883 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.1819, allocations: 3.938 kB / 0.8484 GB, free: 3.879 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.182, allocations: 30.56 kB / 0.8485 GB, free: 3.84 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.182, allocations: 1.094 kB / 0.8485 GB, free: 3.84 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001855/0.1821, allocations: 53.72 kB / 0.8485 GB, free: 3.781 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.1822, allocations: 51.41 kB / 0.8486 GB, free: 3.719 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1823, allocations: 106.9 kB / 0.8487 GB, free: 3.605 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1823, allocations: 25.7 kB / 0.8487 GB, free: 3.574 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.1824, allocations: 81.52 kB / 0.8488 GB, free: 3.492 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.1824, allocations: 7.953 kB / 0.8488 GB, free: 3.484 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.1825, allocations: 13.72 kB / 0.8488 GB, free: 3.465 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1826, allocations: 318.8 kB / 0.8491 GB, free: 3.145 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/0.1826, allocations: 6.562 kB / 0.8491 GB, free: 3.141 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/0.1827, allocations: 7.938 kB / 0.8491 GB, free: 3.133 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.408e-05/0.1827, allocations: 16.86 kB / 0.8491 GB, free: 3.113 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1827, allocations: 0 / 0.8491 GB, free: 3.113 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.893e-05/0.1828, allocations: 49.64 kB / 0.8492 GB, free: 3.059 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1828, allocations: 4 kB / 0.8492 GB, free: 3.055 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1828, allocations: 0 / 0.8492 GB, free: 3.055 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1828, allocations: 5.188 kB / 0.8492 GB, free: 3.051 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.243e-05/0.1829, allocations: 4 kB / 0.8492 GB, free: 3.047 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1829, allocations: 0 / 0.8492 GB, free: 3.047 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.1829, allocations: 9.703 kB / 0.8492 GB, free: 3.039 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.1829, allocations: 3.938 kB / 0.8492 GB, free: 3.035 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 0.0001019/0.183, allocations: 114.9 kB / 0.8493 GB, free: 2.914 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.183, allocations: 4 kB / 0.8493 GB, free: 2.91 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.183, allocations: 4.5 kB / 0.8493 GB, free: 2.906 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.183, allocations: 3.938 kB / 0.8493 GB, free: 2.902 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1831, allocations: 1.094 kB / 0.8493 GB, free: 2.902 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1831, allocations: 256 / 0.8493 GB, free: 2.902 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.1832, allocations: 113.3 kB / 0.8494 GB, free: 2.762 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1832, allocations: 4.5 kB / 0.8494 GB, free: 2.758 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.159e-05/0.1832, allocations: 4 kB / 0.8494 GB, free: 2.754 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1832, allocations: 0.5 kB / 0.8494 GB, free: 2.754 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1832, allocations: 0.5 kB / 0.8494 GB, free: 2.754 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1832, allocations: 0.625 kB / 0.8494 GB, free: 2.754 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1832, allocations: 3.938 kB / 0.8494 GB, free: 2.75 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.1833, allocations: 78.03 kB / 0.8495 GB, free: 2.656 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-06/0.1834, allocations: 0 / 0.8495 GB, free: 2.656 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.1834, allocations: 4.438 kB / 0.8495 GB, free: 2.652 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.1834, allocations: 4.656 kB / 0.8495 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.1834, allocations: 15.95 kB / 0.8495 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.1834, allocations: 0.5938 kB / 0.8495 GB, free: 2.633 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.369e-05/0.1835, allocations: 83.97 kB / 0.8496 GB, free: 2.551 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1835, allocations: 0 / 0.8496 GB, free: 2.551 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001733/0.1836, allocations: 4.594 kB / 0.8496 GB, free: 2.547 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.0001422/0.1838, allocations: 99.97 kB / 0.8497 GB, free: 2.438 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.74e-05/0.1839, allocations: 15.98 kB / 0.8497 GB, free: 2.422 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1839, allocations: 0.8438 kB / 0.8497 GB, free: 2.422 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.692e-05/0.1839, allocations: 11.94 kB / 0.8498 GB, free: 2.41 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.1841, allocations: 0.5 kB / 0.8498 GB, free: 2.41 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.1844, allocations: 107.6 kB / 0.8499 GB, free: 2.281 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.179e-05/0.1844, allocations: 64.5 kB / 0.8499 GB, free: 2.199 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 2.648e-05/0.1845, allocations: 0 / 0.8499 GB, free: 2.199 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.1845, allocations: 7.938 kB / 0.8499 GB, free: 2.191 MB / 474.8 MB Notification: Performance of SimCode: time 4.61e-07/0.1845, allocations: 0.5938 kB / 0.8499 GB, free: 2.191 MB / 474.8 MB Notification: Performance of Templates: time 0.003027/0.1875, allocations: 414.8 kB / 0.8503 GB, free: 1.859 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.429649311117828]