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.002344/0.002344, allocations: 101.5 kB / 18.95 MB, free: 1.18 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.002809/0.002809, allocations: 219.5 kB / 22.25 MB, free: 3.566 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 1.668/1.668, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.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.41/1.41, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004011/0.004011, allocations: 77.59 kB / 0.7749 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1513, allocations: 74 MB / 0.8472 GB, free: 4.859 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07X_OtherNervousSystemDrugs.N07XX05_Amifampridine.Amifampridine_Thakkar2017_PD_3tug): time 0.001872/0.1532, allocations: 0.6229 MB / 0.8478 GB, free: 4.25 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.418e-05/0.1532, allocations: 8.516 kB / 0.8478 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.1533, allocations: 0 / 0.8478 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.114e-05/0.1533, allocations: 0.5938 kB / 0.8478 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.374e-05/0.1533, allocations: 3.938 kB / 0.8478 GB, free: 4.238 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.663e-05/0.1534, allocations: 8.625 kB / 0.8478 GB, free: 4.23 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.133e-05/0.1534, allocations: 8.484 kB / 0.8479 GB, free: 4.223 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.1535, allocations: 4 kB / 0.8479 GB, free: 4.219 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.099e-05/0.1535, allocations: 12.7 kB / 0.8479 GB, free: 4.207 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.1535, allocations: 4.531 kB / 0.8479 GB, free: 4.203 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1535, allocations: 4 kB / 0.8479 GB, free: 4.199 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-06/0.1535, allocations: 0.5 kB / 0.8479 GB, free: 4.199 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.1536, allocations: 12.53 kB / 0.8479 GB, free: 4.188 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.1536, allocations: 4 kB / 0.8479 GB, free: 4.184 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.003e-05/0.1536, allocations: 12.55 kB / 0.8479 GB, free: 4.172 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1536, allocations: 0 / 0.8479 GB, free: 4.172 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1536, allocations: 0.7188 kB / 0.8479 GB, free: 4.172 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1536, allocations: 0 / 0.8479 GB, free: 4.172 MB / 474.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.0004193/0.1541, allocations: 261.1 kB / 0.8482 GB, free: 3.887 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1541, allocations: 12.66 kB / 0.8482 GB, free: 3.875 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.1541, allocations: 0.9375 kB / 0.8482 GB, free: 3.875 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.1543, allocations: 115.2 kB / 0.8483 GB, free: 3.738 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.1543, allocations: 384 / 0.8483 GB, free: 3.738 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.1543, allocations: 5.141 kB / 0.8483 GB, free: 3.734 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.1544, allocations: 42.25 kB / 0.8483 GB, free: 3.688 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1544, allocations: 0.875 kB / 0.8483 GB, free: 3.688 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.1544, allocations: 3.938 kB / 0.8483 GB, free: 3.684 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1544, allocations: 9.094 kB / 0.8483 GB, free: 3.676 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.674e-05/0.1544, allocations: 15.98 kB / 0.8484 GB, free: 3.66 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.1548, allocations: 101.3 kB / 0.8484 GB, free: 3.531 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.155, allocations: 47.67 kB / 0.8485 GB, free: 3.477 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.1551, allocations: 20.98 kB / 0.8485 GB, free: 3.453 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.1551, allocations: 2 kB / 0.8485 GB, free: 3.453 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.1551, allocations: 30.56 kB / 0.8485 GB, free: 3.414 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1551, allocations: 0 / 0.8485 GB, free: 3.414 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001614/0.1553, allocations: 65.56 kB / 0.8486 GB, free: 3.344 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.1553, allocations: 51.41 kB / 0.8487 GB, free: 3.281 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.804e-05/0.1554, allocations: 100.3 kB / 0.8488 GB, free: 3.176 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1554, allocations: 29.7 kB / 0.8488 GB, free: 3.141 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.1555, allocations: 84.12 kB / 0.8489 GB, free: 3.055 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.1555, allocations: 11.91 kB / 0.8489 GB, free: 3.043 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.1555, allocations: 13.72 kB / 0.8489 GB, free: 3.023 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1557, allocations: 314.8 kB / 0.8492 GB, free: 2.707 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.1557, allocations: 7.984 kB / 0.8492 GB, free: 2.699 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.201e-05/0.1558, allocations: 6.594 kB / 0.8492 GB, free: 2.695 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.049e-05/0.1558, allocations: 24.86 kB / 0.8492 GB, free: 2.668 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1558, allocations: 0 / 0.8492 GB, free: 2.668 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.139e-05/0.1559, allocations: 53.62 kB / 0.8493 GB, free: 2.609 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1559, allocations: 4 kB / 0.8493 GB, free: 2.605 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.1559, allocations: 0 / 0.8493 GB, free: 2.605 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1559, allocations: 3.938 kB / 0.8493 GB, free: 2.602 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.086e-05/0.156, allocations: 4.938 kB / 0.8493 GB, free: 2.598 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.156, allocations: 4 kB / 0.8493 GB, free: 2.594 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.156, allocations: 8.828 kB / 0.8493 GB, free: 2.586 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.156, allocations: 256 / 0.8493 GB, free: 2.586 MB / 474.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.417e-05/0.1561, allocations: 119.5 kB / 0.8494 GB, free: 2.461 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-06/0.1561, allocations: 0 / 0.8494 GB, free: 2.461 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.1561, allocations: 4.516 kB / 0.8494 GB, free: 2.457 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1561, allocations: 8.531 kB / 0.8494 GB, free: 2.449 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1562, allocations: 4 kB / 0.8494 GB, free: 2.445 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1562, allocations: 4.609 kB / 0.8494 GB, free: 2.441 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1563, allocations: 109.9 kB / 0.8495 GB, free: 2.305 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1563, allocations: 3.938 kB / 0.8495 GB, free: 2.301 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.1563, allocations: 4.656 kB / 0.8495 GB, free: 2.297 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1563, allocations: 4 kB / 0.8495 GB, free: 2.293 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.1563, allocations: 0.625 kB / 0.8495 GB, free: 2.293 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1563, allocations: 0.625 kB / 0.8496 GB, free: 2.293 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1563, allocations: 3.938 kB / 0.8496 GB, free: 2.289 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.1564, allocations: 81.64 kB / 0.8496 GB, free: 2.191 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-06/0.1565, allocations: 7.938 kB / 0.8496 GB, free: 2.184 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.1565, allocations: 4.594 kB / 0.8496 GB, free: 2.18 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.069e-05/0.1565, allocations: 0.625 kB / 0.8496 GB, free: 2.18 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.1565, allocations: 7.922 kB / 0.8497 GB, free: 2.172 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.1565, allocations: 0.5938 kB / 0.8497 GB, free: 2.172 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.371e-05/0.1566, allocations: 83.97 kB / 0.8497 GB, free: 2.09 MB / 474.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1566, allocations: 0 / 0.8497 GB, free: 2.09 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000175/0.1567, allocations: 8.625 kB / 0.8497 GB, free: 2.082 MB / 474.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.0001147/0.1569, allocations: 99.84 kB / 0.8498 GB, free: 1.973 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.359e-05/0.157, allocations: 24.52 kB / 0.8499 GB, free: 1.949 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.157, allocations: 0 / 0.8499 GB, free: 1.949 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.794e-05/0.157, allocations: 4.656 kB / 0.8499 GB, free: 1.945 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.1571, allocations: 10.28 kB / 0.8499 GB, free: 1.941 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.1574, allocations: 117.5 kB / 0.85 GB, free: 1.801 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.589e-05/0.1575, allocations: 63.94 kB / 0.85 GB, free: 1.719 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.5e-05/0.1575, allocations: 0 / 0.85 GB, free: 1.719 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.1575, allocations: 12.06 kB / 0.8501 GB, free: 1.707 MB / 474.8 MB Notification: Performance of SimCode: time 4.01e-07/0.1575, allocations: 0.5625 kB / 0.8501 GB, free: 1.707 MB / 474.8 MB Notification: Performance of Templates: time 0.0028/0.1603, allocations: 412.9 kB / 0.8505 GB, free: 1.371 MB / 474.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: 7.296531300060451]