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.0014/0.0014, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 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.001331/0.001331, allocations: 213.3 kB / 23 MB, free: 2.969 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.071/1.071, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.7936/0.7936, allocations: 312.3 MB / 0.6108 GB, free: 97.66 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 73.97 kB / 0.7699 GB, free: 20.22 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1455, allocations: 73.98 MB / 0.8421 GB, free: 10.36 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker): time 0.00147/0.147, allocations: 0.6197 MB / 0.8427 GB, free: 9.754 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.882e-05/0.147, allocations: 12.5 kB / 0.8427 GB, free: 9.742 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.147, allocations: 0 / 0.8427 GB, free: 9.742 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.1471, allocations: 0.5312 kB / 0.8427 GB, free: 9.742 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.928e-05/0.1471, allocations: 4.469 kB / 0.8427 GB, free: 9.738 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.69e-05/0.1472, allocations: 8.578 kB / 0.8427 GB, free: 9.73 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.766e-05/0.1472, allocations: 19.97 kB / 0.8428 GB, free: 9.711 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/0.1473, allocations: 4.562 kB / 0.8428 GB, free: 9.707 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.876e-05/0.1473, allocations: 4 kB / 0.8428 GB, free: 9.703 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.1474, allocations: 12.52 kB / 0.8428 GB, free: 9.691 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1474, allocations: 0.625 kB / 0.8428 GB, free: 9.691 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.491e-06/0.1474, allocations: 0 / 0.8428 GB, free: 9.691 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.1474, allocations: 8.562 kB / 0.8428 GB, free: 9.684 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.1474, allocations: 11.86 kB / 0.8428 GB, free: 9.672 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.261e-05/0.1475, allocations: 12.42 kB / 0.8428 GB, free: 9.66 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1475, allocations: 0.5938 kB / 0.8428 GB, free: 9.66 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1475, allocations: 0.5 kB / 0.8428 GB, free: 9.66 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1475, allocations: 0 / 0.8428 GB, free: 9.66 MB / 474.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.0003547/0.1479, allocations: 255.4 kB / 0.8431 GB, free: 9.379 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1479, allocations: 8.031 kB / 0.8431 GB, free: 9.371 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.1479, allocations: 5.531 kB / 0.8431 GB, free: 9.367 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.996e-05/0.148, allocations: 123 kB / 0.8432 GB, free: 9.223 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.148, allocations: 4.375 kB / 0.8432 GB, free: 9.219 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.148, allocations: 1.094 kB / 0.8432 GB, free: 9.219 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.448e-05/0.1481, allocations: 38.25 kB / 0.8432 GB, free: 9.176 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1482, allocations: 4.812 kB / 0.8432 GB, free: 9.172 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1482, allocations: 3.938 kB / 0.8432 GB, free: 9.168 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1482, allocations: 4.672 kB / 0.8432 GB, free: 9.164 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.442e-05/0.1482, allocations: 12.53 kB / 0.8432 GB, free: 9.152 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.1483, allocations: 105.3 kB / 0.8434 GB, free: 9.02 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.1485, allocations: 47.3 kB / 0.8434 GB, free: 8.965 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.1485, allocations: 9.453 kB / 0.8434 GB, free: 8.953 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.1485, allocations: 4.531 kB / 0.8434 GB, free: 8.949 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.1486, allocations: 38.56 kB / 0.8434 GB, free: 8.902 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.1486, allocations: 0.5 kB / 0.8434 GB, free: 8.902 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001351/0.1487, allocations: 58.33 kB / 0.8435 GB, free: 8.84 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.1487, allocations: 51.41 kB / 0.8436 GB, free: 8.777 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.791e-05/0.1488, allocations: 106.4 kB / 0.8437 GB, free: 8.664 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.1488, allocations: 26.33 kB / 0.8437 GB, free: 8.633 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.1488, allocations: 84.14 kB / 0.8438 GB, free: 8.547 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1489, allocations: 16.55 kB / 0.8438 GB, free: 8.531 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.1489, allocations: 17.72 kB / 0.8438 GB, free: 8.508 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.621e-05/0.1489, allocations: 311.5 kB / 0.8441 GB, free: 8.195 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.149, allocations: 4 kB / 0.8441 GB, free: 8.191 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.149, allocations: 12.61 kB / 0.8441 GB, free: 8.18 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.31e-05/0.149, allocations: 21.45 kB / 0.8441 GB, free: 8.156 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.149, allocations: 0 / 0.8441 GB, free: 8.156 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.419e-05/0.1491, allocations: 54.2 kB / 0.8442 GB, free: 8.098 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1491, allocations: 10.81 kB / 0.8442 GB, free: 8.09 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1491, allocations: 0 / 0.8442 GB, free: 8.09 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1491, allocations: 4.469 kB / 0.8442 GB, free: 8.086 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.617e-05/0.1491, allocations: 4 kB / 0.8442 GB, free: 8.082 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1491, allocations: 0.5938 kB / 0.8442 GB, free: 8.082 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.175e-05/0.1492, allocations: 0.6562 kB / 0.8442 GB, free: 8.082 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.1492, allocations: 8.25 kB / 0.8442 GB, free: 8.074 MB / 474.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.375e-05/0.1492, allocations: 106.4 kB / 0.8443 GB, free: 7.961 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-06/0.1492, allocations: 4.594 kB / 0.8443 GB, free: 7.957 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.039e-05/0.1492, allocations: 12.3 kB / 0.8443 GB, free: 7.945 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1492, allocations: 7.938 kB / 0.8443 GB, free: 7.938 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1492, allocations: 0.625 kB / 0.8443 GB, free: 7.938 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1492, allocations: 0 / 0.8443 GB, free: 7.938 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.264e-05/0.1493, allocations: 110 kB / 0.8444 GB, free: 7.801 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.1493, allocations: 0 / 0.8444 GB, free: 7.801 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.358e-05/0.1493, allocations: 12.44 kB / 0.8444 GB, free: 7.789 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1493, allocations: 4.578 kB / 0.8444 GB, free: 7.785 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1493, allocations: 0 / 0.8444 GB, free: 7.785 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1493, allocations: 4.5 kB / 0.8445 GB, free: 7.781 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1493, allocations: 8.828 kB / 0.8445 GB, free: 7.773 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.753e-05/0.1494, allocations: 81.06 kB / 0.8445 GB, free: 7.676 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-06/0.1494, allocations: 0.5938 kB / 0.8445 GB, free: 7.676 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.1494, allocations: 0.6562 kB / 0.8445 GB, free: 7.676 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-06/0.1494, allocations: 4 kB / 0.8445 GB, free: 7.672 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.1494, allocations: 4.531 kB / 0.8445 GB, free: 7.668 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-06/0.1494, allocations: 0 / 0.8445 GB, free: 7.668 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.978e-05/0.1495, allocations: 87.77 kB / 0.8446 GB, free: 7.582 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1495, allocations: 0.625 kB / 0.8446 GB, free: 7.582 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001094/0.1496, allocations: 4 kB / 0.8446 GB, free: 7.578 MB / 474.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 8.541e-05/0.1497, allocations: 108.5 kB / 0.8447 GB, free: 7.461 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.246e-05/0.1498, allocations: 19.98 kB / 0.8448 GB, free: 7.441 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1498, allocations: 0.6875 kB / 0.8448 GB, free: 7.441 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.044e-05/0.1498, allocations: 8 kB / 0.8448 GB, free: 7.434 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.1499, allocations: 4.688 kB / 0.8448 GB, free: 7.43 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002511/0.1501, allocations: 143.3 kB / 0.8449 GB, free: 7.258 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.318e-05/0.1502, allocations: 68 kB / 0.845 GB, free: 7.172 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.1502, allocations: 7.969 kB / 0.845 GB, free: 7.164 MB / 474.8 MB Notification: Performance of SimCode: time 3.7e-07/0.1502, allocations: 0 / 0.845 GB, free: 7.164 MB / 474.8 MB Notification: Performance of Templates: time 0.001457/0.1516, allocations: 0.5289 MB / 0.8455 GB, free: 6.66 MB / 474.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 > 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.498718834482133]