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.0006203/0.0006203, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008529/0.001473, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.0006786/0.0006786, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009237/0.001602, allocations: 463.6 kB / 11.64 MB, free: 2.527 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 0.9308/0.9308, allocations: 177.2 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0862/1.017, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.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.7276/0.7276, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02577/0.7534, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.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: Performance of FrontEnd - loaded program: time 1.123e-06/1.123e-06, allocations: 0 / 0.5444 GB, free: 30.67 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.477e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb): time 0.0009678/0.0009826, allocations: 0.6583 MB / 0.545 GB, free: 30.01 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.27e-05/0.001005, allocations: 3.938 kB / 0.545 GB, free: 30 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.00102, allocations: 0 / 0.545 GB, free: 30 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.917e-06/0.001024, allocations: 0 / 0.545 GB, free: 30 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.095e-06/0.001032, allocations: 0 / 0.545 GB, free: 30 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.473e-05/0.001057, allocations: 7.984 kB / 0.545 GB, free: 30 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.393e-05/0.001101, allocations: 11.94 kB / 0.5451 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.00114, allocations: 3.938 kB / 0.5451 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.087e-05/0.00119, allocations: 15.98 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.547e-05/0.001236, allocations: 7.922 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.001254, allocations: 8 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.639e-06/0.001259, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.859e-06/0.001268, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.001285, allocations: 4 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.933e-05/0.001335, allocations: 7.984 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.001346, allocations: 0 / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.001347, allocations: 3.938 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.001356, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 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.0002415/0.001598, allocations: 231.1 kB / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.53e-05/0.001623, allocations: 11.89 kB / 0.5453 GB, free: 29.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.808e-05/0.001641, allocations: 12.94 kB / 0.5454 GB, free: 29.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.014e-05/0.001691, allocations: 109.8 kB / 0.5455 GB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.001702, allocations: 384 / 0.5455 GB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-06/0.001707, allocations: 4.312 kB / 0.5455 GB, free: 29.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.243e-05/0.00176, allocations: 34.25 kB / 0.5455 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-06/0.001765, allocations: 192 / 0.5455 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.001771, allocations: 384 / 0.5455 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.001775, allocations: 384 / 0.5455 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.542e-05/0.001791, allocations: 7.938 kB / 0.5455 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.466e-05/0.001875, allocations: 68.97 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.002088, allocations: 58.53 kB / 0.5456 GB, free: 29.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.305e-05/0.002101, allocations: 4.953 kB / 0.5456 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.002108, allocations: 7.969 kB / 0.5456 GB, free: 29.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.00212, allocations: 34.56 kB / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.002121, allocations: 0 / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 7.425e-05/0.002195, allocations: 33.7 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.002214, allocations: 59.39 kB / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.113e-05/0.002245, allocations: 110.1 kB / 0.5459 GB, free: 29.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-06/0.00225, allocations: 25.7 kB / 0.5459 GB, free: 29.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-06/0.002257, allocations: 80.14 kB / 0.546 GB, free: 28.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.002277, allocations: 19.88 kB / 0.546 GB, free: 28.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.002297, allocations: 13.72 kB / 0.546 GB, free: 28.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.705e-05/0.002324, allocations: 318.8 kB / 0.5463 GB, free: 28.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-06/0.002331, allocations: 4 kB / 0.5463 GB, free: 28.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-06/0.002337, allocations: 0 / 0.5463 GB, free: 28.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.955e-05/0.002357, allocations: 16.84 kB / 0.5463 GB, free: 28.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.002358, allocations: 0 / 0.5463 GB, free: 28.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.187e-05/0.00239, allocations: 41.69 kB / 0.5464 GB, free: 28.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.002399, allocations: 4 kB / 0.5464 GB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.002403, allocations: 0 / 0.5464 GB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.00241, allocations: 0 / 0.5464 GB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.872e-05/0.002438, allocations: 15.94 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.002441, allocations: 3.938 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.008e-05/0.002451, allocations: 0 / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-06/0.002454, allocations: 0 / 0.5464 GB, free: 28.48 MB / 410.7 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 2.96e-05/0.002483, allocations: 113.8 kB / 0.5465 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-06/0.002487, allocations: 0 / 0.5465 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.484e-05/0.002502, allocations: 11.67 kB / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.002503, allocations: 0 / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.002504, allocations: 4 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.002506, allocations: 0 / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.744e-05/0.002544, allocations: 65.84 kB / 0.5466 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.002545, allocations: 4 kB / 0.5466 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/0.002556, allocations: 4 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-06/0.002563, allocations: 11.94 kB / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.002564, allocations: 0 / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-06/0.002566, allocations: 0 / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.002568, allocations: 3 kB / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.002568, allocations: 0 / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.822e-05/0.002606, allocations: 76.98 kB / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-06/0.002613, allocations: 0 / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-06/0.002619, allocations: 0 / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.767e-06/0.002628, allocations: 4 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-06/0.002629, allocations: 4 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.223e-06/0.002636, allocations: 12.84 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.002636, allocations: 0 / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 9.331e-05/0.00273, allocations: 4 kB / 0.5467 GB, free: 28.12 MB / 410.7 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 5.072e-05/0.00278, allocations: 80.8 kB / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.781e-05/0.002828, allocations: 20.84 kB / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.00283, allocations: 0 / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.903e-06/0.002837, allocations: 16.78 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.541e-05/0.002893, allocations: 15.81 kB / 0.5468 GB, free: 27.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001562/0.003049, allocations: 138.2 kB / 0.5469 GB, free: 27.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.712e-05/0.003076, allocations: 63.34 kB / 0.547 GB, free: 27.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.003105, allocations: 55.36 kB / 0.5471 GB, free: 27.67 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.003106, allocations: 0 / 0.5471 GB, free: 27.67 MB / 410.7 MB Notification: Performance of Templates: time 0.001082/0.004188, allocations: 0.4891 MB / 0.5475 GB, free: 27.19 MB / 410.7 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 > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7957245381549]