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.0007476/0.0007476, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.001808, allocations: 440 kB / 10.41 MB, free: 284 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.0006927/0.0006927, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001703, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9907/0.9907, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09007/1.081, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.8321/0.8321, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02799/0.86, allocations: 21.04 MB / 0.5433 GB, free: 31.49 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.152e-06/1.152e-06, allocations: 0 / 0.5446 GB, free: 30.13 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.677e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.13 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA04_Peginesatide.Peginesatide_Naik2013_PD_hgb): time 0.001047/0.001064, allocations: 0.6636 MB / 0.5453 GB, free: 29.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.235e-05/0.001086, allocations: 11.92 kB / 0.5453 GB, free: 29.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.261e-05/0.001099, allocations: 0 / 0.5453 GB, free: 29.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.397e-06/0.001102, allocations: 4 kB / 0.5453 GB, free: 29.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.396e-06/0.001111, allocations: 3.938 kB / 0.5453 GB, free: 29.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.152e-05/0.001132, allocations: 0 / 0.5453 GB, free: 29.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.796e-05/0.00117, allocations: 15.91 kB / 0.5453 GB, free: 29.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.866e-05/0.001199, allocations: 4 kB / 0.5453 GB, free: 29.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.001235, allocations: 11.98 kB / 0.5453 GB, free: 29.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.67e-05/0.001272, allocations: 4 kB / 0.5453 GB, free: 29.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.001285, allocations: 4 kB / 0.5453 GB, free: 29.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.178e-06/0.00129, allocations: 0 / 0.5453 GB, free: 29.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.001304, allocations: 7.938 kB / 0.5453 GB, free: 29.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.459e-05/0.001319, allocations: 0 / 0.5453 GB, free: 29.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.447e-05/0.001363, allocations: 7.984 kB / 0.5453 GB, free: 29.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.001372, allocations: 0 / 0.5453 GB, free: 29.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.001373, allocations: 0 / 0.5453 GB, free: 29.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.00138, allocations: 4 kB / 0.5453 GB, free: 29.39 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.000223/0.001602, allocations: 239 kB / 0.5456 GB, free: 29.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.529e-05/0.001628, allocations: 15.89 kB / 0.5456 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.843e-05/0.001646, allocations: 4.938 kB / 0.5456 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.867e-05/0.001695, allocations: 113.7 kB / 0.5457 GB, free: 28.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.001702, allocations: 384 / 0.5457 GB, free: 28.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-06/0.001708, allocations: 384 / 0.5457 GB, free: 28.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.886e-05/0.001757, allocations: 34.2 kB / 0.5457 GB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-06/0.001761, allocations: 192 / 0.5457 GB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-06/0.001766, allocations: 384 / 0.5457 GB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-06/0.001769, allocations: 4.375 kB / 0.5457 GB, free: 28.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.572e-05/0.001785, allocations: 19.11 kB / 0.5458 GB, free: 28.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.106e-05/0.001846, allocations: 57.05 kB / 0.5458 GB, free: 28.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.002047, allocations: 54.53 kB / 0.5459 GB, free: 28.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.172e-05/0.002059, allocations: 8.859 kB / 0.5459 GB, free: 28.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-06/0.002064, allocations: 0 / 0.5459 GB, free: 28.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.113e-05/0.002075, allocations: 30.56 kB / 0.5459 GB, free: 28.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 5.31e-07/0.002075, allocations: 0 / 0.5459 GB, free: 28.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 6.558e-05/0.002141, allocations: 45.78 kB / 0.5459 GB, free: 28.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.425e-05/0.002155, allocations: 51.41 kB / 0.546 GB, free: 28.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.643e-05/0.002182, allocations: 106.7 kB / 0.5461 GB, free: 28.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.002187, allocations: 25.7 kB / 0.5461 GB, free: 28.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-06/0.002194, allocations: 84.14 kB / 0.5462 GB, free: 28.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.002212, allocations: 11.94 kB / 0.5462 GB, free: 28.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.002231, allocations: 21.66 kB / 0.5462 GB, free: 28.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.666e-05/0.002257, allocations: 318.8 kB / 0.5465 GB, free: 28.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-06/0.002263, allocations: 4 kB / 0.5465 GB, free: 28.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-06/0.002268, allocations: 0 / 0.5465 GB, free: 28.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.649e-05/0.002284, allocations: 12.86 kB / 0.5466 GB, free: 28.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.002286, allocations: 0 / 0.5466 GB, free: 28.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.046e-05/0.002316, allocations: 37.97 kB / 0.5466 GB, free: 27.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.002325, allocations: 8 kB / 0.5466 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.002329, allocations: 0 / 0.5466 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.002336, allocations: 0 / 0.5466 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.027e-05/0.002366, allocations: 15.97 kB / 0.5466 GB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-06/0.002368, allocations: 0 / 0.5466 GB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.004e-05/0.002378, allocations: 3.984 kB / 0.5466 GB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.002382, allocations: 6.594 kB / 0.5466 GB, free: 27.93 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.657e-05/0.002408, allocations: 113.8 kB / 0.5467 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-06/0.002412, allocations: 0 / 0.5467 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.47e-05/0.002427, allocations: 11.69 kB / 0.5467 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.002428, allocations: 0 / 0.5467 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.002429, allocations: 0 / 0.5467 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.002431, allocations: 0 / 0.5467 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.54e-05/0.002476, allocations: 77.81 kB / 0.5468 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.002477, allocations: 3.438 kB / 0.5468 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/0.002488, allocations: 8 kB / 0.5468 GB, free: 27.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.002494, allocations: 7.891 kB / 0.5468 GB, free: 27.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.002496, allocations: 0 / 0.5468 GB, free: 27.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-06/0.002498, allocations: 0 / 0.5468 GB, free: 27.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.0025, allocations: 4 kB / 0.5468 GB, free: 27.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.0025, allocations: 0 / 0.5468 GB, free: 27.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.271e-05/0.002543, allocations: 69 kB / 0.5469 GB, free: 27.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-06/0.002549, allocations: 0 / 0.5469 GB, free: 27.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.981e-06/0.002555, allocations: 4 kB / 0.5469 GB, free: 27.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.002565, allocations: 7.984 kB / 0.5469 GB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.002566, allocations: 0 / 0.5469 GB, free: 27.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.588e-06/0.002576, allocations: 8.859 kB / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002576, allocations: 0 / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.124e-05/0.002657, allocations: 4 kB / 0.5469 GB, free: 27.57 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.163e-05/0.002709, allocations: 84.42 kB / 0.547 GB, free: 27.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.45e-05/0.002753, allocations: 20.83 kB / 0.547 GB, free: 27.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.002756, allocations: 4 kB / 0.547 GB, free: 27.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.002767, allocations: 12.8 kB / 0.547 GB, free: 27.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.763e-05/0.002825, allocations: 15.92 kB / 0.5471 GB, free: 27.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001403/0.002965, allocations: 116.5 kB / 0.5472 GB, free: 27.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.826e-05/0.002983, allocations: 51.36 kB / 0.5472 GB, free: 27.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.589e-05/0.002999, allocations: 3.984 kB / 0.5472 GB, free: 27.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.003025, allocations: 51.38 kB / 0.5473 GB, free: 27.16 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.003025, allocations: 0 / 0.5473 GB, free: 27.16 MB / 410.7 MB Notification: Performance of Templates: time 0.001681/0.004706, allocations: 359.7 kB / 0.5476 GB, free: 26.87 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.251557460986078]