Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr.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.001822/0.001822, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.002319/0.002319, allocations: 169.9 kB / 22.46 MB, free: 2.102 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 1.577/1.577, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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 1.357/1.357, allocations: 292.9 MB / 0.5392 GB, free: 49.79 MB / 410.7 MB " [Timeout remaining time 178] 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.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.6999 GB, free: 8.652 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.659e-05/3.878e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.645 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr): time 0.002255/0.002294, allocations: 0.6261 MB / 0.7005 GB, free: 8.016 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 6.978e-05/0.002364, allocations: 11.92 kB / 0.7005 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.002408, allocations: 0 / 0.7005 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.002428, allocations: 0 / 0.7005 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.648e-05/0.002465, allocations: 7.938 kB / 0.7005 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.856e-05/0.002523, allocations: 0 / 0.7005 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 7.47e-05/0.002598, allocations: 23.91 kB / 0.7005 GB, free: 7.973 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.362e-05/0.002671, allocations: 0 / 0.7005 GB, free: 7.973 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.129e-05/0.002723, allocations: 11.98 kB / 0.7005 GB, free: 7.961 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.002805, allocations: 11.98 kB / 0.7006 GB, free: 7.949 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.00284, allocations: 0 / 0.7006 GB, free: 7.949 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-06/0.002846, allocations: 0 / 0.7006 GB, free: 7.949 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.002863, allocations: 3.938 kB / 0.7006 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.002895, allocations: 4 kB / 0.7006 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.787e-05/0.002963, allocations: 19.95 kB / 0.7006 GB, free: 7.922 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.002964, allocations: 3.938 kB / 0.7006 GB, free: 7.918 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.82e-07/0.002965, allocations: 0 / 0.7006 GB, free: 7.918 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.002969, allocations: 0 / 0.7006 GB, free: 7.918 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004348/0.003404, allocations: 258.3 kB / 0.7008 GB, free: 7.633 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.003458, allocations: 8.031 kB / 0.7008 GB, free: 7.625 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.003496, allocations: 4.938 kB / 0.7008 GB, free: 7.621 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.905e-05/0.003585, allocations: 113.8 kB / 0.7009 GB, free: 7.484 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.0036, allocations: 384 / 0.7009 GB, free: 7.484 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.003611, allocations: 4.375 kB / 0.701 GB, free: 7.48 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.003713, allocations: 42.19 kB / 0.701 GB, free: 7.434 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.003725, allocations: 4.125 kB / 0.701 GB, free: 7.43 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.003735, allocations: 384 / 0.701 GB, free: 7.43 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.00374, allocations: 384 / 0.701 GB, free: 7.43 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.778e-05/0.003808, allocations: 15.92 kB / 0.701 GB, free: 7.414 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.003946, allocations: 109.3 kB / 0.7011 GB, free: 7.277 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.004171, allocations: 42.64 kB / 0.7012 GB, free: 7.227 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/0.004214, allocations: 16.86 kB / 0.7012 GB, free: 7.207 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.004228, allocations: 0 / 0.7012 GB, free: 7.207 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.004248, allocations: 38.62 kB / 0.7012 GB, free: 7.16 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.004249, allocations: 4 kB / 0.7012 GB, free: 7.156 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001832/0.004432, allocations: 45.7 kB / 0.7013 GB, free: 7.105 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.004463, allocations: 55.39 kB / 0.7013 GB, free: 7.039 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/0.004522, allocations: 105.8 kB / 0.7014 GB, free: 6.926 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.00453, allocations: 25.7 kB / 0.7014 GB, free: 6.895 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.13e-05/0.004551, allocations: 88.14 kB / 0.7015 GB, free: 6.805 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.00458, allocations: 15.89 kB / 0.7015 GB, free: 6.789 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.004615, allocations: 13.72 kB / 0.7015 GB, free: 6.77 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.557e-05/0.00467, allocations: 314.8 kB / 0.7018 GB, free: 6.453 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.279e-05/0.004703, allocations: 4 kB / 0.7019 GB, free: 6.449 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.004722, allocations: 11.98 kB / 0.7019 GB, free: 6.438 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.191e-05/0.004774, allocations: 25.06 kB / 0.7019 GB, free: 6.41 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.004776, allocations: 0 / 0.7019 GB, free: 6.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.825e-05/0.004865, allocations: 53.64 kB / 0.7019 GB, free: 6.352 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.004879, allocations: 4 kB / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.004884, allocations: 4 kB / 0.7019 GB, free: 6.344 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.004902, allocations: 0 / 0.7019 GB, free: 6.344 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.004963, allocations: 8 kB / 0.702 GB, free: 6.336 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.004968, allocations: 0 / 0.702 GB, free: 6.336 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.004999, allocations: 11.88 kB / 0.702 GB, free: 6.324 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.005005, allocations: 0 / 0.702 GB, free: 6.324 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 (4): * Single equations (assignments): 4 * 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 5.398e-05/0.005059, allocations: 114.4 kB / 0.7021 GB, free: 6.203 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.005068, allocations: 0 / 0.7021 GB, free: 6.203 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.005099, allocations: 15.61 kB / 0.7021 GB, free: 6.188 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.0051, allocations: 4 kB / 0.7021 GB, free: 6.184 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.005105, allocations: 3.938 kB / 0.7021 GB, free: 6.18 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.005109, allocations: 7.938 kB / 0.7021 GB, free: 6.172 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.2e-05/0.005181, allocations: 101.3 kB / 0.7022 GB, free: 6.043 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005182, allocations: 0 / 0.7022 GB, free: 6.043 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.005229, allocations: 11.98 kB / 0.7022 GB, free: 6.031 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.005231, allocations: 256 / 0.7022 GB, free: 6.031 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.005239, allocations: 0 / 0.7022 GB, free: 6.031 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.005244, allocations: 4 kB / 0.7022 GB, free: 6.027 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005245, allocations: 0 / 0.7022 GB, free: 6.027 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.869e-05/0.005344, allocations: 81.02 kB / 0.7023 GB, free: 5.93 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.005351, allocations: 4 kB / 0.7023 GB, free: 5.926 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.005366, allocations: 0 / 0.7023 GB, free: 5.926 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.632e-05/0.005392, allocations: 4 kB / 0.7023 GB, free: 5.922 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.005411, allocations: 3.938 kB / 0.7023 GB, free: 5.918 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.005415, allocations: 4 kB / 0.7023 GB, free: 5.914 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.037e-05/0.005445, allocations: 87.27 kB / 0.7024 GB, free: 5.828 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.005445, allocations: 0 / 0.7024 GB, free: 5.828 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002912/0.005736, allocations: 7.938 kB / 0.7024 GB, free: 5.82 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 (4): * Single equations (assignments): 4 * 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 9.818e-05/0.005834, allocations: 95.25 kB / 0.7025 GB, free: 5.719 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.005939, allocations: 23.98 kB / 0.7025 GB, free: 5.695 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.005941, allocations: 0 / 0.7025 GB, free: 5.695 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.234e-05/0.005963, allocations: 11.94 kB / 0.7025 GB, free: 5.684 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.006172, allocations: 11.28 kB / 0.7025 GB, free: 5.676 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.006464, allocations: 108.8 kB / 0.7026 GB, free: 5.543 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.064e-05/0.006505, allocations: 63.34 kB / 0.7027 GB, free: 5.461 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.886e-05/0.006524, allocations: 0 / 0.7027 GB, free: 5.461 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.006551, allocations: 12.5 kB / 0.7027 GB, free: 5.449 MB / 410.8 MB Notification: Performance of SimCode: time 4.51e-07/0.006552, allocations: 0 / 0.7027 GB, free: 5.449 MB / 410.8 MB Notification: Performance of Templates: time 0.003552/0.0101, allocations: 407.5 kB / 0.7031 GB, free: 5.098 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.264002716867253]