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.001019/0.001019, 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.001082/0.001082, allocations: 217.3 kB / 23 MB, free: 2.949 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.9858/0.9858, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7517/0.7517, allocations: 312.3 MB / 0.6108 GB, free: 97.12 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: 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.001751/0.001751, allocations: 78.84 kB / 0.7698 GB, free: 19.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1514, allocations: 73.97 MB / 0.8421 GB, free: 9.863 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb): time 0.001759/0.1531, allocations: 0.5918 MB / 0.8427 GB, free: 9.289 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.855e-05/0.1532, allocations: 7.984 kB / 0.8427 GB, free: 9.281 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.1532, allocations: 8.531 kB / 0.8427 GB, free: 9.273 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.1532, allocations: 0 / 0.8427 GB, free: 9.273 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.079e-05/0.1533, allocations: 0.5938 kB / 0.8427 GB, free: 9.273 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.343e-05/0.1533, allocations: 4.547 kB / 0.8427 GB, free: 9.27 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.762e-05/0.1534, allocations: 16.59 kB / 0.8427 GB, free: 9.254 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.418e-05/0.1535, allocations: 3.984 kB / 0.8427 GB, free: 9.25 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.327e-05/0.1535, allocations: 8.656 kB / 0.8427 GB, free: 9.242 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.954e-05/0.1536, allocations: 7.984 kB / 0.8427 GB, free: 9.234 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1536, allocations: 4.531 kB / 0.8427 GB, free: 9.23 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.741e-06/0.1536, allocations: 0.6875 kB / 0.8427 GB, free: 9.23 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.1536, allocations: 3.938 kB / 0.8427 GB, free: 9.227 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.1536, allocations: 4.5 kB / 0.8427 GB, free: 9.223 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.892e-05/0.1537, allocations: 7.922 kB / 0.8427 GB, free: 9.215 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1537, allocations: 0.5 kB / 0.8427 GB, free: 9.215 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.958e-06/0.1537, allocations: 0.5625 kB / 0.8427 GB, free: 9.215 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1537, allocations: 0.5938 kB / 0.8427 GB, free: 9.215 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.0004138/0.1541, allocations: 254.9 kB / 0.843 GB, free: 8.934 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.1542, allocations: 12.66 kB / 0.843 GB, free: 8.922 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.1542, allocations: 0.9375 kB / 0.843 GB, free: 8.922 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.941e-05/0.1543, allocations: 127 kB / 0.8431 GB, free: 8.773 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1543, allocations: 384 / 0.8431 GB, free: 8.773 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.1543, allocations: 1 kB / 0.8431 GB, free: 8.773 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.1544, allocations: 38.78 kB / 0.8432 GB, free: 8.73 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1545, allocations: 192 / 0.8432 GB, free: 8.73 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1545, allocations: 4.562 kB / 0.8432 GB, free: 8.727 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1545, allocations: 4 kB / 0.8432 GB, free: 8.723 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.982e-05/0.1545, allocations: 12.61 kB / 0.8432 GB, free: 8.711 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.1546, allocations: 101.8 kB / 0.8433 GB, free: 8.582 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.1549, allocations: 63.14 kB / 0.8433 GB, free: 8.512 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.155, allocations: 9.484 kB / 0.8433 GB, free: 8.5 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.155, allocations: 0 / 0.8433 GB, free: 8.5 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.155, allocations: 39.12 kB / 0.8434 GB, free: 8.453 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.155, allocations: 0 / 0.8434 GB, free: 8.453 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001533/0.1551, allocations: 50.41 kB / 0.8434 GB, free: 8.398 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.1552, allocations: 52.12 kB / 0.8435 GB, free: 8.336 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.1552, allocations: 105.8 kB / 0.8436 GB, free: 8.223 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.1553, allocations: 26.36 kB / 0.8436 GB, free: 8.191 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.1553, allocations: 80.14 kB / 0.8437 GB, free: 8.109 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.1553, allocations: 8.547 kB / 0.8437 GB, free: 8.102 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.1553, allocations: 13.72 kB / 0.8437 GB, free: 8.082 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.1554, allocations: 323.3 kB / 0.844 GB, free: 7.758 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.1554, allocations: 4.625 kB / 0.844 GB, free: 7.754 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.1554, allocations: 7.938 kB / 0.844 GB, free: 7.746 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.919e-05/0.1555, allocations: 17.36 kB / 0.844 GB, free: 7.727 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1555, allocations: 0.7188 kB / 0.844 GB, free: 7.727 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.086e-05/0.1556, allocations: 49.64 kB / 0.8441 GB, free: 7.672 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1556, allocations: 4.5 kB / 0.8441 GB, free: 7.668 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1556, allocations: 4.656 kB / 0.8441 GB, free: 7.664 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1556, allocations: 3.938 kB / 0.8441 GB, free: 7.66 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.863e-05/0.1556, allocations: 4.656 kB / 0.8441 GB, free: 7.656 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1556, allocations: 3.938 kB / 0.8441 GB, free: 7.652 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.1557, allocations: 0.5 kB / 0.8441 GB, free: 7.652 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1557, allocations: 0.625 kB / 0.8441 GB, free: 7.652 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 6.972e-05/0.1557, allocations: 111.6 kB / 0.8442 GB, free: 7.535 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-06/0.1557, allocations: 3.984 kB / 0.8442 GB, free: 7.531 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.1558, allocations: 8.344 kB / 0.8442 GB, free: 7.523 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1558, allocations: 8.5 kB / 0.8442 GB, free: 7.516 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1558, allocations: 0 / 0.8442 GB, free: 7.516 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1558, allocations: 0.7188 kB / 0.8442 GB, free: 7.516 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.466e-05/0.1559, allocations: 101.3 kB / 0.8443 GB, free: 7.387 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1559, allocations: 0.6875 kB / 0.8443 GB, free: 7.387 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.1559, allocations: 8.234 kB / 0.8443 GB, free: 7.379 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1559, allocations: 0.6875 kB / 0.8443 GB, free: 7.379 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1559, allocations: 8.562 kB / 0.8443 GB, free: 7.371 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1559, allocations: 4 kB / 0.8444 GB, free: 7.367 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1559, allocations: 4.688 kB / 0.8444 GB, free: 7.363 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.156, allocations: 77.02 kB / 0.8444 GB, free: 7.27 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-06/0.156, allocations: 1 kB / 0.8444 GB, free: 7.27 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.156, allocations: 4 kB / 0.8444 GB, free: 7.266 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-06/0.156, allocations: 0.75 kB / 0.8444 GB, free: 7.266 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.156, allocations: 3.938 kB / 0.8444 GB, free: 7.262 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.156, allocations: 4.703 kB / 0.8444 GB, free: 7.258 MB / 474.8 MB Notification: Performance of sorting global known variables: time 3.118e-05/0.1561, allocations: 83.27 kB / 0.8445 GB, free: 7.176 MB / 474.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1561, allocations: 0.5938 kB / 0.8445 GB, free: 7.176 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001118/0.1562, allocations: 8.562 kB / 0.8445 GB, free: 7.168 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.0001067/0.1563, allocations: 99.94 kB / 0.8446 GB, free: 7.059 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.668e-05/0.1564, allocations: 16.61 kB / 0.8446 GB, free: 7.043 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1564, allocations: 0 / 0.8446 GB, free: 7.043 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.1564, allocations: 12.56 kB / 0.8447 GB, free: 7.031 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.1565, allocations: 4.75 kB / 0.8447 GB, free: 7.027 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.1568, allocations: 130.6 kB / 0.8448 GB, free: 6.867 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.789e-05/0.1569, allocations: 64 kB / 0.8448 GB, free: 6.785 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.1569, allocations: 8.062 kB / 0.8449 GB, free: 6.777 MB / 474.8 MB Notification: Performance of SimCode: time 5.71e-07/0.1569, allocations: 4.469 kB / 0.8449 GB, free: 6.773 MB / 474.8 MB Notification: Performance of Templates: time 0.001709/0.1586, allocations: 491.9 kB / 0.8453 GB, free: 6.312 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 > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.8898539980873466]