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.00307/0.00307, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001446/0.004516, allocations: 443.8 kB / 10.3 MB, free: 400 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.001415/0.001415, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.002877, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9985/0.9985, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08688/1.085, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7776/0.7776, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02492/0.8025, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.583e-06/1.583e-06, allocations: 4 kB / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.239e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker): time 0.0008792/0.0008916, allocations: 0.6866 MB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.181e-05/0.0009134, allocations: 3.938 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.512e-05/0.0009286, allocations: 3.938 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.118e-06/0.0009327, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.536e-06/0.0009412, allocations: 3.938 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.144e-05/0.0009626, allocations: 7.984 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.769e-05/0.001, allocations: 12 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.342e-05/0.001034, allocations: 7.984 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.283e-05/0.001077, allocations: 15.92 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.00112, allocations: 7.984 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.001135, allocations: 0 / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.221e-06/0.001141, allocations: 4 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.408e-06/0.00115, allocations: 0 / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.001168, allocations: 7.938 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.25e-05/0.00121, allocations: 7.984 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.00122, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.7e-07/0.001221, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.001228, allocations: 4 kB / 0.5452 GB, free: 29.85 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.0002244/0.001452, allocations: 235 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.709e-05/0.001479, allocations: 15.89 kB / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.719e-05/0.001496, allocations: 0.9375 kB / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.464e-05/0.001541, allocations: 117.7 kB / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.001549, allocations: 4.359 kB / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.001557, allocations: 9.984 kB / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.931e-05/0.001606, allocations: 30.27 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-06/0.001611, allocations: 192 / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.001617, allocations: 4.375 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-06/0.00162, allocations: 4.375 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.705e-05/0.001637, allocations: 11.92 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.307e-05/0.0017, allocations: 57.05 kB / 0.5457 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.001814, allocations: 42.55 kB / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.001829, allocations: 12.86 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-06/0.001836, allocations: 4.078 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.001849, allocations: 34.56 kB / 0.5457 GB, free: 29.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.00185, allocations: 0 / 0.5457 GB, free: 29.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 7.075e-05/0.001921, allocations: 53.56 kB / 0.5458 GB, free: 29.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.66e-05/0.001937, allocations: 55.41 kB / 0.5458 GB, free: 29.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.011e-05/0.001967, allocations: 102.7 kB / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-06/0.001972, allocations: 25.7 kB / 0.546 GB, free: 28.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.185e-06/0.001981, allocations: 88.12 kB / 0.5461 GB, free: 28.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.002001, allocations: 15.89 kB / 0.5461 GB, free: 28.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.002019, allocations: 13.72 kB / 0.5461 GB, free: 28.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.807e-05/0.002047, allocations: 314.8 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-06/0.002053, allocations: 4 kB / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.002062, allocations: 11.36 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.971e-05/0.002082, allocations: 12.86 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.002083, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.018e-05/0.002113, allocations: 49.62 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.002123, allocations: 4 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.002126, allocations: 0 / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.62e-06/0.002132, allocations: 0 / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.889e-05/0.002161, allocations: 11.98 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.002163, allocations: 0 / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-06/0.002173, allocations: 4 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-06/0.002175, allocations: 336 / 0.5465 GB, free: 28.38 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 2.858e-05/0.002204, allocations: 121.7 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-06/0.002207, allocations: 0 / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.425e-05/0.002222, allocations: 15.69 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.002223, allocations: 3.984 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.002224, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.002226, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.757e-05/0.002263, allocations: 73.83 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.002264, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.002277, allocations: 4 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-06/0.002281, allocations: 7.953 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.002282, allocations: 0 / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-06/0.002285, allocations: 3.938 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.002286, allocations: 0 / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.002287, allocations: 7.047 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.788e-05/0.002325, allocations: 73.05 kB / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-06/0.002331, allocations: 4 kB / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.002338, allocations: 3.938 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-06/0.002348, allocations: 0 / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.00235, allocations: 3.312 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.875e-06/0.002358, allocations: 12.84 kB / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.002358, allocations: 0 / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.718e-05/0.002445, allocations: 4 kB / 0.5468 GB, free: 28 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 4.639e-05/0.002492, allocations: 92.41 kB / 0.5469 GB, free: 27.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.602e-05/0.002538, allocations: 24.8 kB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.00254, allocations: 4 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.695e-06/0.002548, allocations: 12.84 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.003e-05/0.002598, allocations: 7.938 kB / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000153/0.002751, allocations: 149.1 kB / 0.5471 GB, free: 27.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.979e-05/0.002771, allocations: 59.34 kB / 0.5471 GB, free: 27.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.002797, allocations: 51.38 kB / 0.5472 GB, free: 27.54 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.002798, allocations: 3.938 kB / 0.5472 GB, free: 27.54 MB / 410.7 MB Notification: Performance of Templates: time 0.001005/0.003802, allocations: 0.5242 MB / 0.5477 GB, free: 27.03 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 > 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.9674019776284695]