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.001614/0.001614, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001836/0.001836, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.963/0.963, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.7508/0.7508, allocations: 291.2 MB / 0.5382 GB, free: 51.78 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.753e-06/1.753e-06, allocations: 0 / 0.6973 GB, free: 10.5 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.136e-05, allocations: 9.312 kB / 0.6973 GB, free: 10.5 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb): time 0.001136/0.001167, allocations: 0.5969 MB / 0.6979 GB, free: 9.898 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.148e-05/0.001209, allocations: 7.922 kB / 0.6979 GB, free: 9.891 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.001234, allocations: 0 / 0.6979 GB, free: 9.891 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.001249, allocations: 3.938 kB / 0.6979 GB, free: 9.887 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.08e-05/0.001279, allocations: 11.88 kB / 0.6979 GB, free: 9.875 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.447e-05/0.001334, allocations: 7.984 kB / 0.6979 GB, free: 9.867 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.562e-05/0.00139, allocations: 11.98 kB / 0.6979 GB, free: 9.855 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.00144, allocations: 4 kB / 0.6979 GB, free: 9.852 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.421e-05/0.001474, allocations: 0 / 0.6979 GB, free: 9.852 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.00152, allocations: 11.92 kB / 0.6979 GB, free: 9.84 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.001542, allocations: 0 / 0.6979 GB, free: 9.84 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-06/0.001547, allocations: 4 kB / 0.6979 GB, free: 9.836 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.001562, allocations: 4 kB / 0.6979 GB, free: 9.832 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.001586, allocations: 3.984 kB / 0.6979 GB, free: 9.828 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.629e-05/0.001642, allocations: 15.91 kB / 0.6979 GB, free: 9.812 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.001644, allocations: 0 / 0.6979 GB, free: 9.812 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.372e-06/0.001645, allocations: 4 kB / 0.698 GB, free: 9.809 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.00165, allocations: 0 / 0.698 GB, free: 9.809 MB / 410.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.0002796/0.001929, allocations: 260.5 kB / 0.6982 GB, free: 9.523 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.001968, allocations: 8.031 kB / 0.6982 GB, free: 9.516 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.001994, allocations: 4.938 kB / 0.6982 GB, free: 9.512 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.116e-05/0.002045, allocations: 101.8 kB / 0.6983 GB, free: 9.387 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.002056, allocations: 8.312 kB / 0.6983 GB, free: 9.379 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.002065, allocations: 4.375 kB / 0.6983 GB, free: 9.375 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.723e-05/0.002142, allocations: 34.25 kB / 0.6984 GB, free: 9.336 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.002148, allocations: 4.188 kB / 0.6984 GB, free: 9.332 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.002156, allocations: 384 / 0.6984 GB, free: 9.332 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.00216, allocations: 384 / 0.6984 GB, free: 9.332 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.51e-05/0.002195, allocations: 11.94 kB / 0.6984 GB, free: 9.32 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.492e-05/0.00229, allocations: 113.3 kB / 0.6985 GB, free: 9.18 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.002545, allocations: 50.56 kB / 0.6985 GB, free: 9.121 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.002566, allocations: 12.94 kB / 0.6985 GB, free: 9.105 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.002576, allocations: 0 / 0.6985 GB, free: 9.105 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.139e-05/0.002587, allocations: 30.56 kB / 0.6986 GB, free: 9.066 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.002588, allocations: 0 / 0.6986 GB, free: 9.066 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.000121/0.002709, allocations: 57.69 kB / 0.6986 GB, free: 9.004 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.002729, allocations: 51.41 kB / 0.6987 GB, free: 8.941 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.947e-05/0.002769, allocations: 101.8 kB / 0.6988 GB, free: 8.832 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.26e-06/0.002774, allocations: 29.7 kB / 0.6988 GB, free: 8.797 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.222e-05/0.002786, allocations: 92.06 kB / 0.6989 GB, free: 8.703 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.00281, allocations: 3.953 kB / 0.6989 GB, free: 8.699 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.00283, allocations: 17.72 kB / 0.6989 GB, free: 8.676 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.719e-05/0.002857, allocations: 310.8 kB / 0.6992 GB, free: 8.363 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.002871, allocations: 4 kB / 0.6992 GB, free: 8.359 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/0.002881, allocations: 11.98 kB / 0.6992 GB, free: 8.348 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.71e-05/0.002909, allocations: 17.14 kB / 0.6992 GB, free: 8.328 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.00291, allocations: 7.938 kB / 0.6992 GB, free: 8.32 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.415e-05/0.002954, allocations: 53.62 kB / 0.6993 GB, free: 8.262 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.002968, allocations: 8.875 kB / 0.6993 GB, free: 8.254 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.002972, allocations: 0 / 0.6993 GB, free: 8.254 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.002984, allocations: 0 / 0.6993 GB, free: 8.254 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.682e-05/0.003021, allocations: 7.938 kB / 0.6993 GB, free: 8.246 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.003026, allocations: 0 / 0.6993 GB, free: 8.246 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.223e-05/0.003038, allocations: 7.938 kB / 0.6993 GB, free: 8.238 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.003042, allocations: 0 / 0.6993 GB, free: 8.238 MB / 410.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 3.632e-05/0.003078, allocations: 106.4 kB / 0.6994 GB, free: 8.125 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-06/0.003082, allocations: 8 kB / 0.6994 GB, free: 8.117 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.788e-05/0.0031, allocations: 7.688 kB / 0.6994 GB, free: 8.109 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.003101, allocations: 0 / 0.6994 GB, free: 8.109 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.003106, allocations: 3.984 kB / 0.6994 GB, free: 8.105 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.003108, allocations: 3.938 kB / 0.6994 GB, free: 8.102 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.597e-05/0.003154, allocations: 109.3 kB / 0.6995 GB, free: 7.965 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.003155, allocations: 0 / 0.6995 GB, free: 7.965 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.622e-05/0.003171, allocations: 4 kB / 0.6995 GB, free: 7.961 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.003173, allocations: 0 / 0.6995 GB, free: 7.961 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.003178, allocations: 0 / 0.6995 GB, free: 7.961 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.003179, allocations: 0 / 0.6995 GB, free: 7.961 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.003181, allocations: 7.984 kB / 0.6996 GB, free: 7.953 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.311e-05/0.003234, allocations: 76.97 kB / 0.6996 GB, free: 7.859 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-06/0.003238, allocations: 3.984 kB / 0.6996 GB, free: 7.855 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.003247, allocations: 0 / 0.6996 GB, free: 7.855 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-06/0.003254, allocations: 0 / 0.6996 GB, free: 7.855 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.003266, allocations: 4.25 kB / 0.6996 GB, free: 7.852 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.003268, allocations: 0 / 0.6996 GB, free: 7.852 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.597e-05/0.003284, allocations: 87.28 kB / 0.6997 GB, free: 7.766 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.003284, allocations: 0 / 0.6997 GB, free: 7.766 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001032/0.003387, allocations: 7.938 kB / 0.6997 GB, free: 7.758 MB / 410.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 6.492e-05/0.003452, allocations: 107.2 kB / 0.6998 GB, free: 7.645 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.665e-05/0.003519, allocations: 12 kB / 0.6998 GB, free: 7.633 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.00352, allocations: 0 / 0.6998 GB, free: 7.633 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.026e-05/0.00353, allocations: 15.92 kB / 0.6999 GB, free: 7.617 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.003648, allocations: 7.75 kB / 0.6999 GB, free: 7.613 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001884/0.003836, allocations: 134.5 kB / 0.7 GB, free: 7.449 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.249e-05/0.003868, allocations: 67.28 kB / 0.7001 GB, free: 7.363 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.003891, allocations: 8.5 kB / 0.7001 GB, free: 7.355 MB / 410.8 MB Notification: Performance of SimCode: time 4.51e-07/0.003891, allocations: 0 / 0.7001 GB, free: 7.355 MB / 410.8 MB Notification: Performance of Templates: time 0.00132/0.005211, allocations: 0.5047 MB / 0.7006 GB, free: 6.855 MB / 410.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.2807276751846075]