Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker.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.001974/0.001974, allocations: 84.44 kB / 19.18 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.002119/0.002119, allocations: 173.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.658/1.658, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.33/1.33, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.6999 GB, free: 8.609 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.407e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.605 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker): time 0.002343/0.002377, allocations: 0.6281 MB / 0.7005 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 6.809e-05/0.002445, allocations: 0 / 0.7005 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.00249, allocations: 0 / 0.7005 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.002511, allocations: 3.938 kB / 0.7005 GB, free: 7.973 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.436e-05/0.002545, allocations: 0 / 0.7005 GB, free: 7.973 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.362e-05/0.002619, allocations: 11.98 kB / 0.7005 GB, free: 7.961 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 7.373e-05/0.002692, allocations: 15.91 kB / 0.7005 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.942e-05/0.002762, allocations: 4 kB / 0.7005 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.792e-05/0.00281, allocations: 11.98 kB / 0.7005 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.388e-05/0.002874, allocations: 0 / 0.7005 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.002908, allocations: 8 kB / 0.7005 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-06/0.002915, allocations: 0 / 0.7005 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.002937, allocations: 7.922 kB / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.002963, allocations: 8 kB / 0.7006 GB, free: 7.906 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.891e-05/0.003032, allocations: 7.922 kB / 0.7006 GB, free: 7.898 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.003035, allocations: 0 / 0.7006 GB, free: 7.898 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.324e-06/0.003037, allocations: 0 / 0.7006 GB, free: 7.898 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.003043, allocations: 4 kB / 0.7006 GB, free: 7.895 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.0004538/0.003497, allocations: 258.2 kB / 0.7008 GB, free: 7.609 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.003545, allocations: 12.03 kB / 0.7008 GB, free: 7.598 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.003588, allocations: 4.938 kB / 0.7008 GB, free: 7.594 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.045e-05/0.003678, allocations: 121.7 kB / 0.7009 GB, free: 7.449 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.003694, allocations: 384 / 0.7009 GB, free: 7.449 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.003707, allocations: 4.375 kB / 0.7009 GB, free: 7.445 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.003829, allocations: 38.25 kB / 0.701 GB, free: 7.402 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.003842, allocations: 4.125 kB / 0.701 GB, free: 7.398 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.003854, allocations: 384 / 0.701 GB, free: 7.398 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.003858, allocations: 384 / 0.701 GB, free: 7.398 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.718e-05/0.003925, allocations: 15.94 kB / 0.701 GB, free: 7.383 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.004092, allocations: 105.4 kB / 0.7011 GB, free: 7.25 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.004334, allocations: 46.58 kB / 0.7011 GB, free: 7.195 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.004386, allocations: 24.86 kB / 0.7012 GB, free: 7.168 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.004402, allocations: 0 / 0.7012 GB, free: 7.168 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.004419, allocations: 30.56 kB / 0.7012 GB, free: 7.129 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.00442, allocations: 0 / 0.7012 GB, free: 7.129 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0002087/0.004629, allocations: 61.72 kB / 0.7013 GB, free: 7.062 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.004659, allocations: 51.41 kB / 0.7013 GB, free: 7 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.474e-05/0.004724, allocations: 105.8 kB / 0.7014 GB, free: 6.887 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.004735, allocations: 29.7 kB / 0.7014 GB, free: 6.852 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.564e-05/0.00476, allocations: 80.14 kB / 0.7015 GB, free: 6.77 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.004792, allocations: 11.91 kB / 0.7015 GB, free: 6.758 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.004834, allocations: 17.72 kB / 0.7015 GB, free: 6.734 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.674e-05/0.004891, allocations: 322.8 kB / 0.7019 GB, free: 6.41 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.57e-05/0.004926, allocations: 0 / 0.7019 GB, free: 6.41 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.004946, allocations: 8 kB / 0.7019 GB, free: 6.402 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.559e-05/0.005002, allocations: 20.86 kB / 0.7019 GB, free: 6.379 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005004, allocations: 0 / 0.7019 GB, free: 6.379 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001057/0.005109, allocations: 57.58 kB / 0.7019 GB, free: 6.316 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.005124, allocations: 4 kB / 0.7019 GB, free: 6.312 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.005129, allocations: 0 / 0.7019 GB, free: 6.312 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.005148, allocations: 0 / 0.7019 GB, free: 6.312 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.005213, allocations: 7.984 kB / 0.7019 GB, free: 6.305 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.005219, allocations: 8 kB / 0.702 GB, free: 6.297 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.696e-05/0.005256, allocations: 8.203 kB / 0.702 GB, free: 6.289 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.005262, allocations: 0 / 0.702 GB, free: 6.289 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.765e-05/0.00532, allocations: 114.5 kB / 0.7021 GB, free: 6.168 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.00533, allocations: 3.938 kB / 0.7021 GB, free: 6.164 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.005364, allocations: 7.672 kB / 0.7021 GB, free: 6.156 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.005367, allocations: 0 / 0.7021 GB, free: 6.156 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.005372, allocations: 4 kB / 0.7021 GB, free: 6.152 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.005377, allocations: 7.875 kB / 0.7021 GB, free: 6.145 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.505e-05/0.005462, allocations: 105.3 kB / 0.7022 GB, free: 6.012 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.005464, allocations: 4 kB / 0.7022 GB, free: 6.008 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.005519, allocations: 8 kB / 0.7022 GB, free: 6 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.005521, allocations: 0 / 0.7022 GB, free: 6 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.005529, allocations: 0 / 0.7022 GB, free: 6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.005531, allocations: 3.938 kB / 0.7022 GB, free: 5.996 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005532, allocations: 0 / 0.7022 GB, free: 5.996 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.005648, allocations: 81.02 kB / 0.7023 GB, free: 5.898 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.005655, allocations: 4 kB / 0.7023 GB, free: 5.895 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.005672, allocations: 4.234 kB / 0.7023 GB, free: 5.891 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.167e-05/0.005703, allocations: 4 kB / 0.7023 GB, free: 5.887 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.005735, allocations: 4 kB / 0.7023 GB, free: 5.883 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.005744, allocations: 8 kB / 0.7023 GB, free: 5.875 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.872e-05/0.005773, allocations: 79.28 kB / 0.7024 GB, free: 5.797 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/0.005773, allocations: 0 / 0.7024 GB, free: 5.797 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003191/0.006092, allocations: 7.938 kB / 0.7024 GB, free: 5.789 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 0.0001044/0.006196, allocations: 103.2 kB / 0.7025 GB, free: 5.68 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.006303, allocations: 19.94 kB / 0.7025 GB, free: 5.66 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.006305, allocations: 4 kB / 0.7025 GB, free: 5.656 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.394e-05/0.006339, allocations: 11.98 kB / 0.7025 GB, free: 5.645 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.006563, allocations: 7.75 kB / 0.7025 GB, free: 5.641 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.006876, allocations: 112.8 kB / 0.7026 GB, free: 5.504 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.208e-05/0.006918, allocations: 63.34 kB / 0.7027 GB, free: 5.422 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.034e-05/0.006938, allocations: 0 / 0.7027 GB, free: 5.422 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.006972, allocations: 12.5 kB / 0.7027 GB, free: 5.41 MB / 410.8 MB Notification: Performance of SimCode: time 4.51e-07/0.006972, allocations: 0 / 0.7027 GB, free: 5.41 MB / 410.8 MB Notification: Performance of Templates: time 0.00442/0.01139, allocations: 432.1 kB / 0.7031 GB, free: 5.051 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.539484540000558]