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.002237/0.002237, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.003076/0.003076, allocations: 169.9 kB / 22.46 MB, free: 2.098 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 1.552/1.552, allocations: 177.1 MB / 202.8 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 178] 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 1.353/1.353, allocations: 293 MB / 0.5392 GB, free: 50.15 MB / 410.7 MB " [Timeout remaining time 178] 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 2.074e-06/2.074e-06, allocations: 0 / 0.6999 GB, free: 8.645 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.294e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.641 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug): time 0.002314/0.002347, allocations: 0.6222 MB / 0.7005 GB, free: 8.016 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 7.066e-05/0.002418, allocations: 11.94 kB / 0.7005 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.002467, allocations: 0 / 0.7005 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.002487, allocations: 0 / 0.7005 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 4.118e-05/0.002528, allocations: 3.938 kB / 0.7005 GB, free: 8 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.18e-05/0.00259, allocations: 3.984 kB / 0.7005 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 8.106e-05/0.002671, allocations: 19.92 kB / 0.7005 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.958e-05/0.002741, allocations: 0 / 0.7005 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.757e-05/0.002788, allocations: 7.984 kB / 0.7005 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.578e-05/0.002864, allocations: 7.984 kB / 0.7005 GB, free: 7.961 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.002897, allocations: 4 kB / 0.7005 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.031e-06/0.002903, allocations: 0 / 0.7005 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.002924, allocations: 11.94 kB / 0.7006 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.002949, allocations: 3.984 kB / 0.7006 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.643e-05/0.003015, allocations: 11.92 kB / 0.7006 GB, free: 7.93 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.003018, allocations: 0 / 0.7006 GB, free: 7.93 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003019, allocations: 0 / 0.7006 GB, free: 7.93 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.003023, allocations: 0 / 0.7006 GB, free: 7.93 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.0004087/0.003431, allocations: 258.3 kB / 0.7008 GB, free: 7.645 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.003476, allocations: 8.031 kB / 0.7008 GB, free: 7.637 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.003517, allocations: 8.938 kB / 0.7008 GB, free: 7.629 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.254e-05/0.00361, allocations: 113.8 kB / 0.7009 GB, free: 7.492 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.003628, allocations: 8.359 kB / 0.701 GB, free: 7.484 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.003642, allocations: 4.359 kB / 0.701 GB, free: 7.48 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.003769, allocations: 38.2 kB / 0.701 GB, free: 7.438 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.00378, allocations: 4.125 kB / 0.701 GB, free: 7.434 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.003791, allocations: 4.375 kB / 0.701 GB, free: 7.43 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.003795, allocations: 384 / 0.701 GB, free: 7.43 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.306e-05/0.003858, allocations: 11.92 kB / 0.701 GB, free: 7.418 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.004007, allocations: 105.3 kB / 0.7011 GB, free: 7.285 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.004265, allocations: 50.64 kB / 0.7012 GB, free: 7.227 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/0.004317, allocations: 12.98 kB / 0.7012 GB, free: 7.211 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.004339, allocations: 0 / 0.7012 GB, free: 7.211 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.004369, allocations: 42.5 kB / 0.7012 GB, free: 7.16 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.00437, allocations: 0 / 0.7012 GB, free: 7.16 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0002447/0.004614, allocations: 49.69 kB / 0.7013 GB, free: 7.105 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.004666, allocations: 51.41 kB / 0.7013 GB, free: 7.043 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.004867, allocations: 109.8 kB / 0.7014 GB, free: 6.926 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.004878, allocations: 25.7 kB / 0.7014 GB, free: 6.895 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.004908, allocations: 88.12 kB / 0.7015 GB, free: 6.805 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.00495, allocations: 19.84 kB / 0.7015 GB, free: 6.785 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.004995, allocations: 17.72 kB / 0.7016 GB, free: 6.762 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.005072, allocations: 310.8 kB / 0.7019 GB, free: 6.449 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.005105, allocations: 7.984 kB / 0.7019 GB, free: 6.441 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.263e-05/0.005127, allocations: 8 kB / 0.7019 GB, free: 6.434 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.966e-05/0.005187, allocations: 24.8 kB / 0.7019 GB, free: 6.406 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.005189, allocations: 0 / 0.7019 GB, free: 6.406 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001052/0.005295, allocations: 45.69 kB / 0.7019 GB, free: 6.355 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.005313, allocations: 4 kB / 0.7019 GB, free: 6.352 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.00532, allocations: 4 kB / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.005344, allocations: 0 / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.005413, allocations: 8 kB / 0.702 GB, free: 6.34 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.00542, allocations: 0 / 0.702 GB, free: 6.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.005452, allocations: 7.891 kB / 0.702 GB, free: 6.332 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.00546, allocations: 4 kB / 0.702 GB, free: 6.328 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 9.304e-05/0.005554, allocations: 117.8 kB / 0.7021 GB, free: 6.203 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.005565, allocations: 7.938 kB / 0.7021 GB, free: 6.195 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.0056, allocations: 8.016 kB / 0.7021 GB, free: 6.188 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.005603, allocations: 0 / 0.7021 GB, free: 6.188 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.005608, allocations: 3.938 kB / 0.7021 GB, free: 6.184 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.005616, allocations: 7.922 kB / 0.7021 GB, free: 6.176 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.233e-05/0.005698, allocations: 113.3 kB / 0.7022 GB, free: 6.035 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.005699, allocations: 256 / 0.7022 GB, free: 6.035 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.005749, allocations: 4 kB / 0.7022 GB, free: 6.031 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.005752, allocations: 4 kB / 0.7022 GB, free: 6.027 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.005762, allocations: 0 / 0.7022 GB, free: 6.027 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.005767, allocations: 4 kB / 0.7022 GB, free: 6.023 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.005769, allocations: 0 / 0.7022 GB, free: 6.023 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.005876, allocations: 77.02 kB / 0.7023 GB, free: 5.93 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-06/0.005884, allocations: 4 kB / 0.7023 GB, free: 5.926 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.005899, allocations: 0 / 0.7023 GB, free: 5.926 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.848e-05/0.005927, allocations: 0 / 0.7023 GB, free: 5.926 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.005947, allocations: 15.92 kB / 0.7023 GB, free: 5.91 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.005951, allocations: 0 / 0.7023 GB, free: 5.91 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.452e-05/0.005985, allocations: 79.28 kB / 0.7024 GB, free: 5.832 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.51e-07/0.005985, allocations: 0 / 0.7024 GB, free: 5.832 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003033/0.006289, allocations: 11.94 kB / 0.7024 GB, free: 5.82 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 0.0001257/0.006414, allocations: 99.25 kB / 0.7025 GB, free: 5.715 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.006536, allocations: 19.98 kB / 0.7025 GB, free: 5.695 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.006538, allocations: 0 / 0.7025 GB, free: 5.695 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.51e-05/0.006563, allocations: 11.94 kB / 0.7025 GB, free: 5.684 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.006796, allocations: 8 kB / 0.7025 GB, free: 5.676 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.007126, allocations: 116.8 kB / 0.7026 GB, free: 5.535 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.438e-05/0.00717, allocations: 63.34 kB / 0.7027 GB, free: 5.453 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.114e-05/0.007191, allocations: 0 / 0.7027 GB, free: 5.453 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.007221, allocations: 8.5 kB / 0.7027 GB, free: 5.445 MB / 410.8 MB Notification: Performance of SimCode: time 6.21e-07/0.007222, allocations: 0 / 0.7027 GB, free: 5.445 MB / 410.8 MB Notification: Performance of Templates: time 0.003815/0.01104, allocations: 416.2 kB / 0.7031 GB, free: 5.094 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.343284227186814]