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.0009992/0.0009992, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009241/0.001923, allocations: 455.9 kB / 10.35 MB, free: 348 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.0007112/0.0007112, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009879/0.001699, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.9287/0.9287, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08412/1.013, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.7289/0.7289, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02894/0.7579, allocations: 21.05 MB / 0.5432 GB, free: 31.72 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.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 1.442e-06/1.442e-06, allocations: 0 / 0.5446 GB, free: 30.36 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.121e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker): time 0.001393/0.001414, allocations: 0.6972 MB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.238e-05/0.001446, allocations: 11.92 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.672e-05/0.001463, allocations: 0 / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.518e-06/0.001468, allocations: 0 / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.217e-05/0.00148, allocations: 11.88 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.541e-05/0.001505, allocations: 3.984 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.888e-05/0.001554, allocations: 12 kB / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.001596, allocations: 7.984 kB / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.001641, allocations: 11.94 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.00169, allocations: 7.984 kB / 0.5453 GB, free: 29.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.001706, allocations: 0 / 0.5453 GB, free: 29.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.639e-06/0.001711, allocations: 0 / 0.5453 GB, free: 29.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.001722, allocations: 7.938 kB / 0.5453 GB, free: 29.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.001738, allocations: 4 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.067e-05/0.001789, allocations: 7.984 kB / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/0.001802, allocations: 4 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.001802, allocations: 0 / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.001815, allocations: 0 / 0.5454 GB, free: 29.57 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002659/0.002081, allocations: 235 kB / 0.5456 GB, free: 29.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.002109, allocations: 11.89 kB / 0.5456 GB, free: 29.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.011e-05/0.002129, allocations: 8.938 kB / 0.5456 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.486e-05/0.002184, allocations: 117.7 kB / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.002194, allocations: 384 / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-06/0.0022, allocations: 384 / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.909e-05/0.002259, allocations: 34.2 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.002269, allocations: 4.188 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.002275, allocations: 8.359 kB / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.002279, allocations: 384 / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.002301, allocations: 7.938 kB / 0.5458 GB, free: 29.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.513e-05/0.002376, allocations: 61.05 kB / 0.5458 GB, free: 29.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.002517, allocations: 50.52 kB / 0.5459 GB, free: 28.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.002536, allocations: 16.94 kB / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.002543, allocations: 0 / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.002557, allocations: 30.56 kB / 0.5459 GB, free: 28.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.002558, allocations: 4 kB / 0.5459 GB, free: 28.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 8.909e-05/0.002647, allocations: 45.69 kB / 0.546 GB, free: 28.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.002667, allocations: 55.41 kB / 0.546 GB, free: 28.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.704e-05/0.002704, allocations: 105.8 kB / 0.5461 GB, free: 28.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.23e-06/0.002709, allocations: 25.7 kB / 0.5461 GB, free: 28.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.556e-06/0.002718, allocations: 92.06 kB / 0.5462 GB, free: 28.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.002741, allocations: 11.84 kB / 0.5462 GB, free: 28.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.002769, allocations: 17.72 kB / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.594e-05/0.002795, allocations: 318.8 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-06/0.002804, allocations: 7.984 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.186e-06/0.002812, allocations: 4 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.002838, allocations: 16.86 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.002839, allocations: 0 / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.463e-05/0.002884, allocations: 37.69 kB / 0.5466 GB, free: 28.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.002895, allocations: 8 kB / 0.5466 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.002899, allocations: 0 / 0.5466 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.002906, allocations: 0 / 0.5466 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.226e-05/0.002949, allocations: 15.92 kB / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.002951, allocations: 0 / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.002964, allocations: 0 / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-06/0.002967, allocations: 0 / 0.5467 GB, free: 28.1 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 (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 3.125e-05/0.002998, allocations: 121.8 kB / 0.5468 GB, free: 27.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.003004, allocations: 0 / 0.5468 GB, free: 27.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.003024, allocations: 7.688 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.003026, allocations: 4 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.003027, allocations: 0 / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.00303, allocations: 3.938 kB / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.874e-05/0.003079, allocations: 73.81 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.00308, allocations: 4 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.003099, allocations: 4 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.003105, allocations: 7.953 kB / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.003106, allocations: 0 / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-06/0.003109, allocations: 4 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.00311, allocations: 0 / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.003112, allocations: 2.75 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.003229, allocations: 73.31 kB / 0.5469 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.188e-06/0.003238, allocations: 4 kB / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.173e-05/0.003249, allocations: 4 kB / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.003261, allocations: 4.031 kB / 0.547 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.003263, allocations: 0 / 0.547 GB, free: 27.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.231e-05/0.003276, allocations: 8.859 kB / 0.547 GB, free: 27.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003276, allocations: 0 / 0.547 GB, free: 27.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001328/0.003409, allocations: 4 kB / 0.547 GB, free: 27.73 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 (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 6.846e-05/0.003477, allocations: 94.66 kB / 0.5471 GB, free: 27.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.912e-05/0.003536, allocations: 20.86 kB / 0.5471 GB, free: 27.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.003544, allocations: 0 / 0.5471 GB, free: 27.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.724e-05/0.003562, allocations: 20.78 kB / 0.5471 GB, free: 27.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.15e-05/0.003623, allocations: 10.33 kB / 0.5471 GB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001796/0.003803, allocations: 128.4 kB / 0.5472 GB, free: 27.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.016e-05/0.003823, allocations: 59.34 kB / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.487e-05/0.003838, allocations: 0 / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.003865, allocations: 55.38 kB / 0.5473 GB, free: 27.29 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.003865, allocations: 0 / 0.5473 GB, free: 27.29 MB / 410.7 MB Notification: Performance of Templates: time 0.001924/0.005789, allocations: 464.7 kB / 0.5478 GB, free: 26.89 MB / 410.7 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: 3.0512831388041377]