Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug.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.001055/0.001055, allocations: 92.5 kB / 19.94 MB, free: 4.605 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.0009651/0.0009651, allocations: 165.8 kB / 23.21 MB, free: 1.34 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.9395/0.9395, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.6226/0.6226, allocations: 291.2 MB / 0.5382 GB, free: 51.77 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.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.386e-05, allocations: 6.281 kB / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug): time 0.001077/0.001101, allocations: 0.6249 MB / 0.698 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.684e-05/0.001147, allocations: 11.98 kB / 0.698 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.461e-05/0.001172, allocations: 0 / 0.698 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.001185, allocations: 3.938 kB / 0.698 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.426e-05/0.001209, allocations: 0 / 0.698 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.071e-05/0.00126, allocations: 3.984 kB / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.081e-05/0.001311, allocations: 19.92 kB / 0.698 GB, free: 9.742 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.001358, allocations: 0 / 0.698 GB, free: 9.742 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.001393, allocations: 15.98 kB / 0.698 GB, free: 9.727 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.001439, allocations: 4 kB / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.001458, allocations: 0 / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.739e-06/0.001462, allocations: 4 kB / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.001475, allocations: 3.984 kB / 0.698 GB, free: 9.715 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.608e-05/0.001492, allocations: 3.938 kB / 0.698 GB, free: 9.711 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.183e-05/0.001543, allocations: 19.91 kB / 0.698 GB, free: 9.691 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.001545, allocations: 0 / 0.698 GB, free: 9.691 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.272e-06/0.001547, allocations: 0 / 0.698 GB, free: 9.691 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.001551, allocations: 0 / 0.698 GB, free: 9.691 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.0002521/0.001803, allocations: 262.3 kB / 0.6983 GB, free: 9.402 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.001838, allocations: 8.031 kB / 0.6983 GB, free: 9.395 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.001864, allocations: 4.938 kB / 0.6983 GB, free: 9.391 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.357e-05/0.001918, allocations: 113.7 kB / 0.6984 GB, free: 9.254 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.001928, allocations: 384 / 0.6984 GB, free: 9.254 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.001936, allocations: 384 / 0.6984 GB, free: 9.254 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.581e-05/0.002012, allocations: 42.25 kB / 0.6985 GB, free: 9.207 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.002018, allocations: 192 / 0.6985 GB, free: 9.207 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.002026, allocations: 384 / 0.6985 GB, free: 9.207 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.00203, allocations: 384 / 0.6985 GB, free: 9.207 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.562e-05/0.002065, allocations: 15.94 kB / 0.6985 GB, free: 9.191 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.501e-05/0.00215, allocations: 109.4 kB / 0.6986 GB, free: 9.055 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.002297, allocations: 46.58 kB / 0.6986 GB, free: 9 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.002321, allocations: 12.86 kB / 0.6986 GB, free: 8.984 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.002331, allocations: 4 kB / 0.6986 GB, free: 8.98 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.939e-06/0.002341, allocations: 34.5 kB / 0.6987 GB, free: 8.938 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.002342, allocations: 0 / 0.6987 GB, free: 8.938 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001121/0.002454, allocations: 57.72 kB / 0.6987 GB, free: 8.875 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.772e-05/0.002471, allocations: 59.34 kB / 0.6988 GB, free: 8.805 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.46e-05/0.002506, allocations: 105.8 kB / 0.6989 GB, free: 8.691 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.498e-06/0.002511, allocations: 29.7 kB / 0.6989 GB, free: 8.656 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.021e-05/0.002521, allocations: 88.14 kB / 0.699 GB, free: 8.566 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.002541, allocations: 11.84 kB / 0.699 GB, free: 8.555 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.00256, allocations: 17.72 kB / 0.699 GB, free: 8.531 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.5e-05/0.002585, allocations: 314.8 kB / 0.6993 GB, free: 8.215 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.002598, allocations: 8 kB / 0.6993 GB, free: 8.207 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.049e-05/0.002609, allocations: 4 kB / 0.6993 GB, free: 8.203 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.679e-05/0.002646, allocations: 21.14 kB / 0.6994 GB, free: 8.18 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.002647, allocations: 0 / 0.6994 GB, free: 8.18 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.281e-05/0.00269, allocations: 57.61 kB / 0.6994 GB, free: 8.117 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.002701, allocations: 8 kB / 0.6994 GB, free: 8.109 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.002705, allocations: 0 / 0.6994 GB, free: 8.109 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.002716, allocations: 4 kB / 0.6994 GB, free: 8.105 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.42e-05/0.002751, allocations: 7.984 kB / 0.6994 GB, free: 8.098 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.002755, allocations: 0 / 0.6994 GB, free: 8.098 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.002766, allocations: 11.89 kB / 0.6994 GB, free: 8.086 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.002769, allocations: 0 / 0.6994 GB, free: 8.086 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.045e-05/0.0028, allocations: 105.8 kB / 0.6995 GB, free: 7.973 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-06/0.002803, allocations: 4 kB / 0.6995 GB, free: 7.969 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.41e-05/0.002817, allocations: 7.688 kB / 0.6996 GB, free: 7.961 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.002819, allocations: 0 / 0.6996 GB, free: 7.961 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.002822, allocations: 0 / 0.6996 GB, free: 7.961 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.002824, allocations: 7.938 kB / 0.6996 GB, free: 7.953 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.753e-05/0.002862, allocations: 109.3 kB / 0.6997 GB, free: 7.816 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.002862, allocations: 0 / 0.6997 GB, free: 7.816 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.355e-05/0.002876, allocations: 4 kB / 0.6997 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.002877, allocations: 0 / 0.6997 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.002883, allocations: 4 kB / 0.6997 GB, free: 7.809 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.002884, allocations: 3.938 kB / 0.6997 GB, free: 7.805 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.002884, allocations: 0 / 0.6997 GB, free: 7.805 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.152e-05/0.002936, allocations: 84.95 kB / 0.6998 GB, free: 7.703 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-06/0.00294, allocations: 0 / 0.6998 GB, free: 7.703 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.002949, allocations: 7.984 kB / 0.6998 GB, free: 7.695 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-06/0.002956, allocations: 4 kB / 0.6998 GB, free: 7.691 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.002967, allocations: 0 / 0.6998 GB, free: 7.691 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-06/0.002968, allocations: 0 / 0.6998 GB, free: 7.691 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.349e-05/0.002981, allocations: 87.53 kB / 0.6999 GB, free: 7.605 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.002981, allocations: 0 / 0.6999 GB, free: 7.605 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001043/0.003086, allocations: 7.938 kB / 0.6999 GB, free: 7.598 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 6.439e-05/0.00315, allocations: 103.2 kB / 0.7 GB, free: 7.488 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.577e-05/0.003216, allocations: 23.88 kB / 0.7 GB, free: 7.465 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.003217, allocations: 0 / 0.7 GB, free: 7.465 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.158e-06/0.003227, allocations: 15.98 kB / 0.7 GB, free: 7.449 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.003329, allocations: 8.656 kB / 0.7 GB, free: 7.441 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.003514, allocations: 135.5 kB / 0.7001 GB, free: 7.277 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.5e-05/0.003539, allocations: 67.33 kB / 0.7002 GB, free: 7.191 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.003558, allocations: 8.5 kB / 0.7002 GB, free: 7.184 MB / 410.8 MB Notification: Performance of SimCode: time 4.71e-07/0.003559, allocations: 4 kB / 0.7002 GB, free: 7.18 MB / 410.8 MB Notification: Performance of Templates: time 0.00117/0.004729, allocations: 0.5243 MB / 0.7007 GB, free: 6.66 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.138565248809755]