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.0007565/0.0007565, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001091/0.001848, 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.00073/0.00073, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001798, 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 1.015/1.015, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09427/1.109, 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.8511/0.8511, allocations: 291.1 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02355/0.8746, allocations: 21.04 MB / 0.5433 GB, free: 31.47 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.463e-06/1.463e-06, allocations: 3.938 kB / 0.5447 GB, free: 30.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.239e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker): time 0.001408/0.001421, allocations: 0.6907 MB / 0.5454 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.068e-05/0.001451, allocations: 11.92 kB / 0.5454 GB, free: 29.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.601e-05/0.001467, allocations: 0 / 0.5454 GB, free: 29.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.118e-06/0.001472, allocations: 0 / 0.5454 GB, free: 29.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.105e-05/0.001483, allocations: 7.938 kB / 0.5454 GB, free: 29.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.309e-05/0.001506, allocations: 7.984 kB / 0.5454 GB, free: 29.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.891e-05/0.001555, allocations: 11.94 kB / 0.5454 GB, free: 29.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.001591, allocations: 4 kB / 0.5454 GB, free: 29.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/0.001637, allocations: 11.97 kB / 0.5454 GB, free: 29.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5e-05/0.001687, allocations: 11.98 kB / 0.5454 GB, free: 29.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.001707, allocations: 3.938 kB / 0.5454 GB, free: 29.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.711e-06/0.001713, allocations: 4 kB / 0.5454 GB, free: 29.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.001726, allocations: 0 / 0.5454 GB, free: 29.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.001743, allocations: 4 kB / 0.5454 GB, free: 29.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.416e-05/0.001797, allocations: 11.92 kB / 0.5454 GB, free: 29.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.001807, allocations: 4 kB / 0.5454 GB, free: 29.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.001807, allocations: 0 / 0.5454 GB, free: 29.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.001815, allocations: 0 / 0.5454 GB, free: 29.29 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.0002614/0.002077, allocations: 231 kB / 0.5457 GB, free: 29.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.002106, allocations: 11.89 kB / 0.5457 GB, free: 29.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.002132, allocations: 8.188 kB / 0.5457 GB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.295e-05/0.002195, allocations: 113.7 kB / 0.5458 GB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.002203, allocations: 4.375 kB / 0.5458 GB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.002213, allocations: 4.312 kB / 0.5458 GB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.053e-05/0.002273, allocations: 38.25 kB / 0.5458 GB, free: 28.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.00228, allocations: 4.188 kB / 0.5458 GB, free: 28.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.002286, allocations: 384 / 0.5458 GB, free: 28.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.002291, allocations: 384 / 0.5458 GB, free: 28.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.055e-05/0.002312, allocations: 11.92 kB / 0.5459 GB, free: 28.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.138e-05/0.002393, allocations: 65.03 kB / 0.5459 GB, free: 28.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.002538, allocations: 38.61 kB / 0.5459 GB, free: 28.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.002558, allocations: 16.8 kB / 0.546 GB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.004e-06/0.002565, allocations: 0 / 0.546 GB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.002581, allocations: 34.64 kB / 0.546 GB, free: 28.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.002582, allocations: 4 kB / 0.546 GB, free: 28.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 9.447e-05/0.002676, allocations: 41.69 kB / 0.546 GB, free: 28.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.002698, allocations: 59.41 kB / 0.5461 GB, free: 28.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.25e-05/0.002741, allocations: 102.7 kB / 0.5462 GB, free: 28.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.23e-06/0.002746, allocations: 25.7 kB / 0.5462 GB, free: 28.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.233e-05/0.002758, allocations: 84.14 kB / 0.5463 GB, free: 28.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.002784, allocations: 19.81 kB / 0.5463 GB, free: 28.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.00281, allocations: 17.72 kB / 0.5463 GB, free: 28.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.398e-05/0.002844, allocations: 314.8 kB / 0.5466 GB, free: 27.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-06/0.002853, allocations: 7.938 kB / 0.5466 GB, free: 27.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-06/0.002863, allocations: 7.984 kB / 0.5467 GB, free: 27.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.716e-05/0.00289, allocations: 16.86 kB / 0.5467 GB, free: 27.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.002892, allocations: 3.938 kB / 0.5467 GB, free: 27.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.76e-05/0.002939, allocations: 41.69 kB / 0.5467 GB, free: 27.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.00295, allocations: 4 kB / 0.5467 GB, free: 27.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.002954, allocations: 0 / 0.5467 GB, free: 27.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.002966, allocations: 0 / 0.5467 GB, free: 27.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.456e-05/0.003011, allocations: 8 kB / 0.5467 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.003013, allocations: 3.938 kB / 0.5467 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.003029, allocations: 3.984 kB / 0.5467 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.003034, allocations: 6.156 kB / 0.5467 GB, free: 27.82 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.342e-05/0.003067, allocations: 125.8 kB / 0.5469 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-06/0.003074, allocations: 0 / 0.5469 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.824e-05/0.003092, allocations: 3.688 kB / 0.5469 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.003094, allocations: 4 kB / 0.5469 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.003095, allocations: 0 / 0.5469 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.003098, allocations: 0 / 0.5469 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.23e-05/0.00315, allocations: 77.83 kB / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.003151, allocations: 0 / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.003173, allocations: 4 kB / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-06/0.003178, allocations: 7.953 kB / 0.5469 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.003179, allocations: 0 / 0.5469 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-06/0.003183, allocations: 4 kB / 0.547 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.003184, allocations: 0 / 0.547 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.003184, allocations: 0 / 0.547 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.137e-05/0.003236, allocations: 73.31 kB / 0.547 GB, free: 27.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-06/0.003244, allocations: 7.984 kB / 0.547 GB, free: 27.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.059e-05/0.003255, allocations: 0 / 0.547 GB, free: 27.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.003266, allocations: 4 kB / 0.547 GB, free: 27.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.003268, allocations: 0 / 0.547 GB, free: 27.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.074e-05/0.003279, allocations: 12.84 kB / 0.547 GB, free: 27.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003279, allocations: 0 / 0.547 GB, free: 27.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.003423, allocations: 4 kB / 0.5471 GB, free: 27.45 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 5.933e-05/0.003483, allocations: 92.41 kB / 0.5471 GB, free: 27.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.746e-05/0.00354, allocations: 20.8 kB / 0.5472 GB, free: 27.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.003546, allocations: 0 / 0.5472 GB, free: 27.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.918e-05/0.003565, allocations: 20.84 kB / 0.5472 GB, free: 27.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.097e-05/0.003636, allocations: 11.88 kB / 0.5472 GB, free: 27.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001795/0.003815, allocations: 132.5 kB / 0.5473 GB, free: 27.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.864e-05/0.003834, allocations: 51.36 kB / 0.5474 GB, free: 27.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.583e-05/0.00385, allocations: 4 kB / 0.5474 GB, free: 27.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.003883, allocations: 51.38 kB / 0.5474 GB, free: 27 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.003883, allocations: 0 / 0.5474 GB, free: 27 MB / 410.7 MB Notification: Performance of Templates: time 0.001891/0.005774, allocations: 384.4 kB / 0.5478 GB, free: 26.7 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.4508426524698734]