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.001053/0.001053, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001617/0.002671, allocations: 435.8 kB / 10.31 MB, free: 384 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.00111/0.00111, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00358/0.004689, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.9791/0.9791, allocations: 177.1 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1049/1.084, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.787/0.787, allocations: 291.2 MB / 0.5226 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03308/0.8201, allocations: 21.03 MB / 0.5431 GB, free: 31.49 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.804e-06/1.804e-06, allocations: 0 / 0.5444 GB, free: 30.15 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.063e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug): time 0.001459/0.00148, allocations: 0.6963 MB / 0.5451 GB, free: 29.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.372e-05/0.001514, allocations: 11.91 kB / 0.5451 GB, free: 29.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.001531, allocations: 0 / 0.5451 GB, free: 29.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.528e-06/0.001536, allocations: 0 / 0.5451 GB, free: 29.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.24e-05/0.001548, allocations: 3.938 kB / 0.5451 GB, free: 29.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.564e-05/0.001574, allocations: 4 kB / 0.5451 GB, free: 29.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.87e-05/0.001623, allocations: 15.92 kB / 0.5452 GB, free: 29.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.001659, allocations: 4 kB / 0.5452 GB, free: 29.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.991e-05/0.001709, allocations: 15.92 kB / 0.5452 GB, free: 29.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.278e-05/0.001762, allocations: 11.98 kB / 0.5452 GB, free: 29.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.00178, allocations: 0 / 0.5452 GB, free: 29.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.719e-06/0.001785, allocations: 0 / 0.5452 GB, free: 29.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.001797, allocations: 7.938 kB / 0.5452 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.001815, allocations: 4 kB / 0.5452 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.872e-05/0.001874, allocations: 7.984 kB / 0.5452 GB, free: 29.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-05/0.001888, allocations: 0 / 0.5452 GB, free: 29.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.001889, allocations: 0 / 0.5452 GB, free: 29.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.0019, allocations: 0 / 0.5452 GB, free: 29.37 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.00031/0.00221, allocations: 239 kB / 0.5454 GB, free: 29.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.002241, allocations: 11.89 kB / 0.5454 GB, free: 29.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.00227, allocations: 8.938 kB / 0.5455 GB, free: 29.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.73e-05/0.002327, allocations: 109.8 kB / 0.5456 GB, free: 28.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.002339, allocations: 384 / 0.5456 GB, free: 28.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.002345, allocations: 4.312 kB / 0.5456 GB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.518e-05/0.00241, allocations: 38.25 kB / 0.5456 GB, free: 28.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.002418, allocations: 4.125 kB / 0.5456 GB, free: 28.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.002425, allocations: 8.359 kB / 0.5456 GB, free: 28.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.002429, allocations: 384 / 0.5456 GB, free: 28.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.002448, allocations: 7.938 kB / 0.5456 GB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.003e-05/0.002528, allocations: 65.02 kB / 0.5457 GB, free: 28.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.00268, allocations: 42.61 kB / 0.5457 GB, free: 28.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.906e-05/0.002699, allocations: 12.86 kB / 0.5457 GB, free: 28.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.002705, allocations: 4 kB / 0.5457 GB, free: 28.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.002723, allocations: 30.56 kB / 0.5458 GB, free: 28.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.002723, allocations: 0 / 0.5458 GB, free: 28.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 9.238e-05/0.002816, allocations: 45.72 kB / 0.5458 GB, free: 28.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.002838, allocations: 55.41 kB / 0.5459 GB, free: 28.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.903e-05/0.002877, allocations: 110 kB / 0.546 GB, free: 28.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-06/0.002881, allocations: 25.7 kB / 0.546 GB, free: 28.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.092e-05/0.002892, allocations: 88.14 kB / 0.5461 GB, free: 28.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.002918, allocations: 15.84 kB / 0.5461 GB, free: 28.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.002946, allocations: 17.7 kB / 0.5461 GB, free: 28.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.47e-05/0.002981, allocations: 318.8 kB / 0.5464 GB, free: 27.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.946e-06/0.00299, allocations: 4 kB / 0.5464 GB, free: 27.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-06/0.002999, allocations: 4 kB / 0.5464 GB, free: 27.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.618e-05/0.003026, allocations: 20.78 kB / 0.5464 GB, free: 27.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.003028, allocations: 0 / 0.5464 GB, free: 27.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.359e-05/0.003081, allocations: 41.69 kB / 0.5465 GB, free: 27.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.003093, allocations: 8 kB / 0.5465 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.003097, allocations: 0 / 0.5465 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.003106, allocations: 4 kB / 0.5465 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.166e-05/0.003158, allocations: 8 kB / 0.5465 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.00316, allocations: 0 / 0.5465 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.003176, allocations: 0 / 0.5465 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-06/0.003179, allocations: 0 / 0.5465 GB, free: 27.89 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.603e-05/0.003215, allocations: 113.8 kB / 0.5466 GB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.003223, allocations: 7.922 kB / 0.5466 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.825e-05/0.003241, allocations: 7.688 kB / 0.5466 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.003243, allocations: 4 kB / 0.5466 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.003245, allocations: 3.938 kB / 0.5466 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.003248, allocations: 4 kB / 0.5466 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.454e-05/0.003302, allocations: 69.83 kB / 0.5467 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.003303, allocations: 336 / 0.5467 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.003326, allocations: 8 kB / 0.5467 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-06/0.003333, allocations: 3.984 kB / 0.5467 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.003334, allocations: 4 kB / 0.5467 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.003338, allocations: 7.984 kB / 0.5467 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.003339, allocations: 0 / 0.5467 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.003341, allocations: 3.125 kB / 0.5467 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.76e-05/0.003408, allocations: 65.06 kB / 0.5468 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.003417, allocations: 0 / 0.5468 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.144e-05/0.003428, allocations: 8 kB / 0.5468 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.003441, allocations: 7.922 kB / 0.5468 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.003444, allocations: 0 / 0.5468 GB, free: 27.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.143e-05/0.003455, allocations: 8.859 kB / 0.5468 GB, free: 27.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003455, allocations: 0 / 0.5468 GB, free: 27.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.003622, allocations: 8 kB / 0.5468 GB, free: 27.52 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.584e-05/0.003688, allocations: 80.42 kB / 0.5469 GB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.062e-05/0.003759, allocations: 24.83 kB / 0.5469 GB, free: 27.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.003762, allocations: 0 / 0.5469 GB, free: 27.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.254e-05/0.003775, allocations: 12.8 kB / 0.5469 GB, free: 27.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.602e-05/0.003851, allocations: 17.91 kB / 0.547 GB, free: 27.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002063/0.004057, allocations: 124.4 kB / 0.5471 GB, free: 27.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.171e-05/0.004079, allocations: 59.36 kB / 0.5471 GB, free: 27.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.501e-05/0.004094, allocations: 0 / 0.5471 GB, free: 27.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.004124, allocations: 51.38 kB / 0.5472 GB, free: 27.09 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.004124, allocations: 0 / 0.5472 GB, free: 27.09 MB / 410.7 MB Notification: Performance of Templates: time 0.002142/0.006266, allocations: 464.9 kB / 0.5476 GB, free: 26.69 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.1506545171141624]