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.0006732/0.0006732, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008955/0.001569, allocations: 435.8 kB / 10.31 MB, free: 384 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.0006921/0.0006921, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009021/0.001594, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.04/1.04, allocations: 177.1 MB / 189.5 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1005/1.141, 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.7584/0.7584, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03291/0.7913, allocations: 21.03 MB / 0.5431 GB, free: 31.95 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.904e-06/1.904e-06, allocations: 0 / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/2.039e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb): time 0.001358/0.001379, allocations: 0.6448 MB / 0.545 GB, free: 29.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.342e-05/0.001412, allocations: 15.94 kB / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.685e-05/0.001429, allocations: 0 / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.57e-06/0.001435, allocations: 3.938 kB / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.017e-06/0.001444, allocations: 0 / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.711e-05/0.001471, allocations: 3.984 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.975e-05/0.00152, allocations: 15.94 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.001564, allocations: 11.09 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.342e-05/0.001617, allocations: 11.94 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.691e-05/0.001664, allocations: 3.984 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.001684, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.08e-06/0.001689, allocations: 4 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.0017, allocations: 4 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.00172, allocations: 4 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.932e-05/0.001779, allocations: 11.92 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.366e-05/0.001793, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.001794, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.001805, allocations: 0 / 0.5451 GB, free: 29.9 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.0002966/0.002101, allocations: 235.1 kB / 0.5454 GB, free: 29.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.002137, allocations: 11.89 kB / 0.5454 GB, free: 29.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.002162, allocations: 4.938 kB / 0.5454 GB, free: 29.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.805e-05/0.00222, allocations: 113.6 kB / 0.5455 GB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.002232, allocations: 8.375 kB / 0.5455 GB, free: 29.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-06/0.002238, allocations: 384 / 0.5455 GB, free: 29.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.744e-05/0.002295, allocations: 34.25 kB / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.002301, allocations: 192 / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.002307, allocations: 4.375 kB / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.002311, allocations: 384 / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.002327, allocations: 7.938 kB / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.932e-05/0.002396, allocations: 57.05 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.002615, allocations: 50.53 kB / 0.5456 GB, free: 29.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.002629, allocations: 16.94 kB / 0.5456 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.002636, allocations: 0 / 0.5456 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.002652, allocations: 38.56 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.002653, allocations: 0 / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 9.854e-05/0.002751, allocations: 37.69 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.002777, allocations: 55.34 kB / 0.5458 GB, free: 29.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.774e-05/0.002825, allocations: 114 kB / 0.5459 GB, free: 29.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/0.002831, allocations: 25.7 kB / 0.5459 GB, free: 28.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.448e-05/0.002846, allocations: 80.14 kB / 0.546 GB, free: 28.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.002873, allocations: 11.94 kB / 0.546 GB, free: 28.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.002906, allocations: 17.7 kB / 0.546 GB, free: 28.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.002952, allocations: 322.8 kB / 0.5463 GB, free: 28.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-06/0.002962, allocations: 0 / 0.5463 GB, free: 28.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-06/0.002971, allocations: 4 kB / 0.5463 GB, free: 28.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.358e-05/0.002995, allocations: 12.84 kB / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.002996, allocations: 0 / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.833e-05/0.003035, allocations: 49.94 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.003045, allocations: 7.125 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.00305, allocations: 0 / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.00306, allocations: 0 / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.507e-05/0.003105, allocations: 4 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.003111, allocations: 6.656 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.003126, allocations: 4 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-06/0.003128, allocations: 0 / 0.5464 GB, free: 28.45 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 3.6e-05/0.003164, allocations: 109.8 kB / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-06/0.00317, allocations: 11.98 kB / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.581e-05/0.003186, allocations: 3.688 kB / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.003187, allocations: 0 / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.003189, allocations: 0 / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.003191, allocations: 0 / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.164e-05/0.003233, allocations: 73.83 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.003233, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.003246, allocations: 8 kB / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.003252, allocations: 15.88 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.003253, allocations: 0 / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-06/0.003256, allocations: 4 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.003257, allocations: 3.125 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.003258, allocations: 0 / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.95e-05/0.003317, allocations: 69 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.003327, allocations: 0 / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.177e-05/0.003339, allocations: 0 / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.003351, allocations: 0 / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.003353, allocations: 3.938 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.107e-05/0.003364, allocations: 16.84 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.003364, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001336/0.003498, allocations: 8 kB / 0.5467 GB, free: 28.09 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 6.056e-05/0.003559, allocations: 84.42 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.777e-05/0.003616, allocations: 16.8 kB / 0.5468 GB, free: 27.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.003619, allocations: 0 / 0.5468 GB, free: 27.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.314e-06/0.003627, allocations: 16.83 kB / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.707e-05/0.003684, allocations: 7.938 kB / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001649/0.003849, allocations: 108.5 kB / 0.5469 GB, free: 27.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.88e-05/0.003867, allocations: 63.34 kB / 0.547 GB, free: 27.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.595e-05/0.003883, allocations: 0 / 0.547 GB, free: 27.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.003907, allocations: 51.38 kB / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.003907, allocations: 0 / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of Templates: time 0.001547/0.005455, allocations: 452.6 kB / 0.5475 GB, free: 27.29 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 -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: 3.129388685338199]