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.0009165/0.0009165, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002258, allocations: 440 kB / 10.41 MB, free: 284 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.0008946/0.0008946, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.002093, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9558/0.9558, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0814/1.037, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7921/0.7921, allocations: 291.2 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04117/0.8332, allocations: 21.04 MB / 0.5433 GB, free: 31.48 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.473e-06/1.473e-06, allocations: 0 / 0.5447 GB, free: 30.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014e-05/1.161e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug): time 0.0009371/0.0009487, allocations: 0.6939 MB / 0.5453 GB, free: 29.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.992e-05/0.0009786, allocations: 11.92 kB / 0.5454 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.793e-05/0.0009965, allocations: 3.938 kB / 0.5454 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.977e-06/0.001, allocations: 3.938 kB / 0.5454 GB, free: 29.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.616e-06/0.001009, allocations: 0 / 0.5454 GB, free: 29.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.52e-05/0.001034, allocations: 7.984 kB / 0.5454 GB, free: 29.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.461e-05/0.001089, allocations: 15.92 kB / 0.5454 GB, free: 29.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.001132, allocations: 0 / 0.5454 GB, free: 29.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.396e-05/0.001186, allocations: 15.98 kB / 0.5454 GB, free: 29.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.001245, allocations: 0 / 0.5454 GB, free: 29.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.001267, allocations: 8 kB / 0.5454 GB, free: 29.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.56e-06/0.001273, allocations: 0 / 0.5454 GB, free: 29.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.001292, allocations: 3.938 kB / 0.5454 GB, free: 29.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.001313, allocations: 4 kB / 0.5454 GB, free: 29.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.588e-05/0.001378, allocations: 11.92 kB / 0.5454 GB, free: 29.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.849e-05/0.001397, allocations: 0 / 0.5454 GB, free: 29.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.001398, allocations: 3.938 kB / 0.5454 GB, free: 29.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.001408, allocations: 0 / 0.5454 GB, free: 29.3 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.0003062/0.001714, allocations: 239.1 kB / 0.5457 GB, free: 29.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.001753, allocations: 11.89 kB / 0.5457 GB, free: 29.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.001781, allocations: 8.922 kB / 0.5457 GB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.056e-05/0.001862, allocations: 113.7 kB / 0.5458 GB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.001871, allocations: 384 / 0.5458 GB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.001881, allocations: 4.375 kB / 0.5458 GB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.422e-05/0.001955, allocations: 38.25 kB / 0.5458 GB, free: 28.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.001962, allocations: 192 / 0.5458 GB, free: 28.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.00197, allocations: 3.875 kB / 0.5458 GB, free: 28.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.001977, allocations: 384 / 0.5458 GB, free: 28.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.001996, allocations: 11.92 kB / 0.5458 GB, free: 28.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.87e-05/0.002084, allocations: 61.05 kB / 0.5459 GB, free: 28.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.00223, allocations: 50.52 kB / 0.546 GB, free: 28.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.002248, allocations: 16.86 kB / 0.546 GB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.002254, allocations: 0 / 0.546 GB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.002273, allocations: 34.56 kB / 0.546 GB, free: 28.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 5.31e-07/0.002274, allocations: 0 / 0.546 GB, free: 28.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 9.986e-05/0.002374, allocations: 41.78 kB / 0.546 GB, free: 28.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.002395, allocations: 51.41 kB / 0.5461 GB, free: 28.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.913e-05/0.002434, allocations: 114.6 kB / 0.5462 GB, free: 28.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-06/0.002438, allocations: 25.7 kB / 0.5462 GB, free: 28.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.149e-05/0.00245, allocations: 80.14 kB / 0.5463 GB, free: 28.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.002477, allocations: 19.84 kB / 0.5463 GB, free: 28.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.002496, allocations: 13.72 kB / 0.5463 GB, free: 28.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.904e-05/0.002535, allocations: 326.8 kB / 0.5466 GB, free: 27.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-06/0.002541, allocations: 4 kB / 0.5466 GB, free: 27.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.772e-06/0.002548, allocations: 0 / 0.5466 GB, free: 27.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.199e-05/0.00257, allocations: 16.84 kB / 0.5467 GB, free: 27.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.002571, allocations: 0 / 0.5467 GB, free: 27.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.152e-05/0.002603, allocations: 41.7 kB / 0.5467 GB, free: 27.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.002615, allocations: 7.984 kB / 0.5467 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.00262, allocations: 0 / 0.5467 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.002638, allocations: 7.938 kB / 0.5467 GB, free: 27.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.063e-05/0.002679, allocations: 8 kB / 0.5467 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.002681, allocations: 3.938 kB / 0.5467 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.021e-05/0.002691, allocations: 0 / 0.5467 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-06/0.002694, allocations: 4 kB / 0.5467 GB, free: 27.82 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 3.56e-05/0.002729, allocations: 109.8 kB / 0.5468 GB, free: 27.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-06/0.002733, allocations: 4 kB / 0.5468 GB, free: 27.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/0.002753, allocations: 11.67 kB / 0.5469 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.002754, allocations: 0 / 0.5469 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.002756, allocations: 0 / 0.5469 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.002758, allocations: 0 / 0.5469 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.604e-05/0.002804, allocations: 73.83 kB / 0.5469 GB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.002805, allocations: 4 kB / 0.5469 GB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.449e-05/0.00282, allocations: 11.38 kB / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-06/0.002825, allocations: 0 / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.002827, allocations: 3.984 kB / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.002832, allocations: 0 / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.2e-07/0.002832, allocations: 0 / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.002833, allocations: 4.328 kB / 0.5469 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.349e-05/0.002876, allocations: 76.98 kB / 0.547 GB, free: 27.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-06/0.002883, allocations: 0 / 0.547 GB, free: 27.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.131e-06/0.00289, allocations: 0 / 0.547 GB, free: 27.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.002901, allocations: 0 / 0.547 GB, free: 27.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.002903, allocations: 8 kB / 0.547 GB, free: 27.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.146e-05/0.002915, allocations: 12.84 kB / 0.547 GB, free: 27.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.002915, allocations: 0 / 0.547 GB, free: 27.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.807e-05/0.003003, allocations: 8 kB / 0.547 GB, free: 27.45 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 6.041e-05/0.003063, allocations: 80.42 kB / 0.5471 GB, free: 27.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.001e-05/0.003123, allocations: 16.84 kB / 0.5471 GB, free: 27.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.00313, allocations: 4 kB / 0.5471 GB, free: 27.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.609e-05/0.003146, allocations: 24.72 kB / 0.5472 GB, free: 27.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.357e-05/0.00322, allocations: 13.91 kB / 0.5472 GB, free: 27.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.003414, allocations: 132.4 kB / 0.5473 GB, free: 27.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.49e-05/0.003439, allocations: 55.36 kB / 0.5474 GB, free: 27.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.429e-05/0.003453, allocations: 3.984 kB / 0.5474 GB, free: 27.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.003483, allocations: 51.38 kB / 0.5474 GB, free: 27.01 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.003484, allocations: 0 / 0.5474 GB, free: 27.01 MB / 410.7 MB Notification: Performance of Templates: time 0.001703/0.005187, allocations: 364.9 kB / 0.5478 GB, free: 26.7 MB / 410.7 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: 3.188510727137327]