Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.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.002285/0.002285, allocations: 109.5 kB / 18.95 MB, free: 1.176 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.002928/0.002928, allocations: 218.4 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.817/1.817, allocations: 230.6 MB / 256 MB, free: 9.621 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.376/1.376, allocations: 316.8 MB / 0.6144 GB, free: 93.52 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.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures") [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.003827/0.003827, allocations: 73.39 kB / 0.775 GB, free: 15.05 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1908, allocations: 73.99 MB / 0.8472 GB, free: 5.191 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures): time 0.002148/0.193, allocations: 0.6287 MB / 0.8478 GB, free: 4.578 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.501e-05/0.193, allocations: 16.53 kB / 0.8479 GB, free: 4.562 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.1931, allocations: 0 / 0.8479 GB, free: 4.562 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.1931, allocations: 0.5938 kB / 0.8479 GB, free: 4.562 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.025e-05/0.1931, allocations: 4.562 kB / 0.8479 GB, free: 4.559 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.286e-05/0.1932, allocations: 0 / 0.8479 GB, free: 4.559 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.931e-05/0.1933, allocations: 20.64 kB / 0.8479 GB, free: 4.539 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.1933, allocations: 4 kB / 0.8479 GB, free: 4.535 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.171e-05/0.1933, allocations: 4.578 kB / 0.8479 GB, free: 4.531 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.725e-05/0.1934, allocations: 7.938 kB / 0.8479 GB, free: 4.523 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1934, allocations: 0.625 kB / 0.8479 GB, free: 4.523 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-06/0.1934, allocations: 4.625 kB / 0.8479 GB, free: 4.52 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.1934, allocations: 7.984 kB / 0.8479 GB, free: 4.512 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.1935, allocations: 4.688 kB / 0.8479 GB, free: 4.508 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.583e-05/0.1935, allocations: 15.91 kB / 0.8479 GB, free: 4.492 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1935, allocations: 0.5312 kB / 0.8479 GB, free: 4.492 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1935, allocations: 1.562 kB / 0.8479 GB, free: 4.492 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1935, allocations: 0 / 0.8479 GB, free: 4.492 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.0004671/0.194, allocations: 258.3 kB / 0.8482 GB, free: 4.207 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.194, allocations: 8.031 kB / 0.8482 GB, free: 4.199 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.1941, allocations: 6.344 kB / 0.8482 GB, free: 4.195 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.1942, allocations: 114.4 kB / 0.8483 GB, free: 4.059 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.1942, allocations: 4.375 kB / 0.8483 GB, free: 4.055 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1942, allocations: 384 / 0.8483 GB, free: 4.055 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.1943, allocations: 46.97 kB / 0.8484 GB, free: 4.004 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1943, allocations: 192 / 0.8484 GB, free: 4.004 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1944, allocations: 5.031 kB / 0.8484 GB, free: 4 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1944, allocations: 0 / 0.8484 GB, free: 4 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.862e-05/0.1944, allocations: 11.98 kB / 0.8484 GB, free: 3.988 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.1946, allocations: 101.9 kB / 0.8485 GB, free: 3.859 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.1948, allocations: 51.08 kB / 0.8485 GB, free: 3.801 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.1949, allocations: 17.58 kB / 0.8485 GB, free: 3.781 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.1949, allocations: 4.562 kB / 0.8485 GB, free: 3.777 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.1949, allocations: 30.56 kB / 0.8486 GB, free: 3.738 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1949, allocations: 0.625 kB / 0.8486 GB, free: 3.738 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001798/0.1951, allocations: 62.09 kB / 0.8486 GB, free: 3.672 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1951, allocations: 55.41 kB / 0.8487 GB, free: 3.605 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.1952, allocations: 98.52 kB / 0.8488 GB, free: 3.5 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1953, allocations: 25.7 kB / 0.8488 GB, free: 3.469 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.1953, allocations: 92.72 kB / 0.8489 GB, free: 3.375 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.1954, allocations: 8.656 kB / 0.8489 GB, free: 3.367 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.1954, allocations: 17.72 kB / 0.8489 GB, free: 3.344 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1956, allocations: 311.5 kB / 0.8492 GB, free: 3.031 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.1956, allocations: 7.984 kB / 0.8492 GB, free: 3.023 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.795e-05/0.1956, allocations: 8.625 kB / 0.8492 GB, free: 3.016 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.71e-05/0.1957, allocations: 20.86 kB / 0.8492 GB, free: 2.992 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1957, allocations: 0.5 kB / 0.8492 GB, free: 2.992 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.41e-05/0.1957, allocations: 50.47 kB / 0.8493 GB, free: 2.938 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1958, allocations: 8.5 kB / 0.8493 GB, free: 2.93 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1958, allocations: 48 / 0.8493 GB, free: 2.93 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.1958, allocations: 8.516 kB / 0.8493 GB, free: 2.922 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.108e-05/0.1958, allocations: 4.594 kB / 0.8493 GB, free: 2.918 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1958, allocations: 0 / 0.8493 GB, free: 2.918 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/0.1959, allocations: 16.52 kB / 0.8493 GB, free: 2.902 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1959, allocations: 0 / 0.8493 GB, free: 2.902 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 0.0003952/0.1963, allocations: 111.5 kB / 0.8494 GB, free: 2.785 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.1963, allocations: 4.656 kB / 0.8494 GB, free: 2.781 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.1963, allocations: 8.25 kB / 0.8495 GB, free: 2.773 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1963, allocations: 3.938 kB / 0.8495 GB, free: 2.77 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1963, allocations: 0.5938 kB / 0.8495 GB, free: 2.77 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1963, allocations: 0 / 0.8495 GB, free: 2.77 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.1965, allocations: 110.2 kB / 0.8496 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1965, allocations: 4.594 kB / 0.8496 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.463e-05/0.1965, allocations: 4 kB / 0.8496 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1965, allocations: 0.7188 kB / 0.8496 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1965, allocations: 4 kB / 0.8496 GB, free: 2.621 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1965, allocations: 4.562 kB / 0.8496 GB, free: 2.617 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1965, allocations: 4.906 kB / 0.8496 GB, free: 2.613 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.1966, allocations: 81.02 kB / 0.8497 GB, free: 2.516 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-06/0.1966, allocations: 0 / 0.8497 GB, free: 2.516 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.1966, allocations: 4.531 kB / 0.8497 GB, free: 2.512 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.859e-05/0.1967, allocations: 4 kB / 0.8497 GB, free: 2.508 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.1967, allocations: 9.547 kB / 0.8497 GB, free: 2.5 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1967, allocations: 0 / 0.8497 GB, free: 2.5 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.031e-05/0.1967, allocations: 83.28 kB / 0.8498 GB, free: 2.418 MB / 474.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1967, allocations: 0 / 0.8498 GB, free: 2.418 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001725/0.1969, allocations: 4.75 kB / 0.8498 GB, free: 2.414 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.000155/0.1971, allocations: 101 kB / 0.8499 GB, free: 2.305 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.1972, allocations: 23.92 kB / 0.8499 GB, free: 2.281 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1972, allocations: 0 / 0.8499 GB, free: 2.281 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.893e-05/0.1972, allocations: 8 kB / 0.8499 GB, free: 2.273 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.1974, allocations: 9 kB / 0.8499 GB, free: 2.27 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.1977, allocations: 116.9 kB / 0.85 GB, free: 2.129 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.71e-05/0.1978, allocations: 64.47 kB / 0.8501 GB, free: 2.047 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.703e-05/0.1978, allocations: 0 / 0.8501 GB, free: 2.047 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.1978, allocations: 7.438 kB / 0.8501 GB, free: 2.039 MB / 474.8 MB Notification: Performance of SimCode: time 4.11e-07/0.1978, allocations: 5.375 kB / 0.8501 GB, free: 2.035 MB / 474.8 MB Notification: Performance of Templates: time 0.002953/0.2008, allocations: 414.6 kB / 0.8505 GB, free: 1.695 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.0991688570939]