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.00122/0.00122, allocations: 92.52 kB / 19.94 MB, free: 4.598 MB / 18.57 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.001081/0.001081, allocations: 169.9 kB / 23.21 MB, free: 1.332 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 0.9543/0.9543, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.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.6646/0.6646, allocations: 291.2 MB / 0.5382 GB, free: 51.86 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.633e-06/1.633e-06, allocations: 0 / 0.6973 GB, free: 10.45 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.841e-05, allocations: 10.16 kB / 0.6973 GB, free: 10.44 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker): time 0.001289/0.001307, allocations: 0.6203 MB / 0.6979 GB, free: 9.82 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.297e-05/0.00135, allocations: 3.984 kB / 0.698 GB, free: 9.816 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.001373, allocations: 4 kB / 0.698 GB, free: 9.812 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.123e-05/0.001384, allocations: 7.875 kB / 0.698 GB, free: 9.805 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 1.981e-05/0.001404, allocations: 4 kB / 0.698 GB, free: 9.801 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 3.664e-05/0.001441, allocations: 7.984 kB / 0.698 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 3.864e-05/0.001479, allocations: 11.98 kB / 0.698 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.001516, allocations: 0 / 0.698 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.938e-05/0.001546, allocations: 11.94 kB / 0.698 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.965e-05/0.001585, allocations: 7.984 kB / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.001601, allocations: 0 / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.457e-06/0.001605, allocations: 0 / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.001616, allocations: 3.984 kB / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.001632, allocations: 15.92 kB / 0.698 GB, free: 9.742 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 3.73e-05/0.001669, allocations: 11.92 kB / 0.698 GB, free: 9.73 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.001671, allocations: 4 kB / 0.698 GB, free: 9.727 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.81e-07/0.001672, allocations: 0 / 0.698 GB, free: 9.727 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.001675, allocations: 0 / 0.698 GB, free: 9.727 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.000204/0.001879, allocations: 258.3 kB / 0.6983 GB, free: 9.441 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.001907, allocations: 8.031 kB / 0.6983 GB, free: 9.434 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.85e-05/0.001925, allocations: 0.9375 kB / 0.6983 GB, free: 9.434 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.549e-05/0.001971, allocations: 109.8 kB / 0.6984 GB, free: 9.301 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.001979, allocations: 384 / 0.6984 GB, free: 9.301 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-06/0.001987, allocations: 8.375 kB / 0.6984 GB, free: 9.293 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.996e-05/0.002046, allocations: 34.25 kB / 0.6984 GB, free: 9.254 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-06/0.002051, allocations: 4.188 kB / 0.6984 GB, free: 9.25 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-06/0.002057, allocations: 384 / 0.6984 GB, free: 9.25 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-06/0.00206, allocations: 4.375 kB / 0.6984 GB, free: 9.246 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.512e-05/0.002095, allocations: 19.86 kB / 0.6985 GB, free: 9.227 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.93e-05/0.002174, allocations: 109.3 kB / 0.6986 GB, free: 9.09 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.002308, allocations: 42.62 kB / 0.6986 GB, free: 9.039 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.002336, allocations: 20.98 kB / 0.6986 GB, free: 9.016 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-06/0.002344, allocations: 0 / 0.6986 GB, free: 9.016 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.203e-05/0.002356, allocations: 34.56 kB / 0.6987 GB, free: 8.973 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.002357, allocations: 0 / 0.6987 GB, free: 8.973 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 9.937e-05/0.002456, allocations: 61.62 kB / 0.6987 GB, free: 8.906 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.632e-05/0.002473, allocations: 55.34 kB / 0.6988 GB, free: 8.84 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.565e-05/0.002508, allocations: 109.8 kB / 0.6989 GB, free: 8.723 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-06/0.002513, allocations: 25.7 kB / 0.6989 GB, free: 8.691 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.185e-05/0.002525, allocations: 84.12 kB / 0.699 GB, free: 8.605 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.002544, allocations: 19.84 kB / 0.699 GB, free: 8.586 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.002566, allocations: 9.719 kB / 0.699 GB, free: 8.57 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.494e-05/0.002601, allocations: 318.8 kB / 0.6993 GB, free: 8.25 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.002614, allocations: 7.984 kB / 0.6993 GB, free: 8.242 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.23e-05/0.002627, allocations: 4 kB / 0.6993 GB, free: 8.238 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.002664, allocations: 24.86 kB / 0.6994 GB, free: 8.211 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.002665, allocations: 0 / 0.6994 GB, free: 8.211 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.709e-05/0.002722, allocations: 57.58 kB / 0.6994 GB, free: 8.148 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.906e-06/0.002731, allocations: 4 kB / 0.6994 GB, free: 8.145 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.002734, allocations: 0 / 0.6994 GB, free: 8.145 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.002743, allocations: 0 / 0.6994 GB, free: 8.145 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.557e-05/0.002779, allocations: 8 kB / 0.6994 GB, free: 8.137 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.002782, allocations: 0 / 0.6994 GB, free: 8.137 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.518e-05/0.002797, allocations: 3.938 kB / 0.6994 GB, free: 8.133 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-06/0.0028, allocations: 0 / 0.6994 GB, free: 8.133 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 3.436e-05/0.002835, allocations: 117.8 kB / 0.6995 GB, free: 8.008 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-06/0.002841, allocations: 4 kB / 0.6995 GB, free: 8.004 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.37e-05/0.002854, allocations: 7.688 kB / 0.6995 GB, free: 7.996 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.002855, allocations: 0 / 0.6995 GB, free: 7.996 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.002858, allocations: 0 / 0.6995 GB, free: 7.996 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.002862, allocations: 3.938 kB / 0.6995 GB, free: 7.992 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.565e-05/0.002908, allocations: 109.3 kB / 0.6997 GB, free: 7.855 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.002909, allocations: 4 kB / 0.6997 GB, free: 7.852 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.09e-05/0.00293, allocations: 7.938 kB / 0.6997 GB, free: 7.844 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.002931, allocations: 0 / 0.6997 GB, free: 7.844 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.002938, allocations: 4 kB / 0.6997 GB, free: 7.84 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.002939, allocations: 0 / 0.6997 GB, free: 7.84 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.00294, allocations: 4 kB / 0.6997 GB, free: 7.836 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.81e-05/0.002998, allocations: 77.34 kB / 0.6997 GB, free: 7.742 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-06/0.003003, allocations: 4 kB / 0.6998 GB, free: 7.738 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.003011, allocations: 0 / 0.6998 GB, free: 7.738 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.194e-05/0.003023, allocations: 11.92 kB / 0.6998 GB, free: 7.727 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-06/0.003033, allocations: 11.97 kB / 0.6998 GB, free: 7.715 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/0.003035, allocations: 0 / 0.6998 GB, free: 7.715 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.504e-05/0.00305, allocations: 83.53 kB / 0.6999 GB, free: 7.633 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.00305, allocations: 0 / 0.6999 GB, free: 7.633 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001794/0.003229, allocations: 7.938 kB / 0.6999 GB, free: 7.625 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 5.074e-05/0.00328, allocations: 115.2 kB / 0.7 GB, free: 7.504 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 5.688e-05/0.003337, allocations: 15.98 kB / 0.7 GB, free: 7.488 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.003338, allocations: 0 / 0.7 GB, free: 7.488 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.645e-05/0.003354, allocations: 12 kB / 0.7 GB, free: 7.477 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.003476, allocations: 3.75 kB / 0.7 GB, free: 7.477 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001842/0.00366, allocations: 146.5 kB / 0.7001 GB, free: 7.301 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.867e-05/0.003688, allocations: 59.3 kB / 0.7002 GB, free: 7.223 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.003711, allocations: 12.5 kB / 0.7002 GB, free: 7.211 MB / 410.8 MB Notification: Performance of SimCode: time 5.61e-07/0.003712, allocations: 4 kB / 0.7002 GB, free: 7.207 MB / 410.8 MB Notification: Performance of Templates: time 0.001468/0.00518, allocations: 0.5204 MB / 0.7007 GB, free: 6.695 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 > 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: 5.005982634611428]