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.00079/0.00079, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001173/0.001963, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007155/0.0007155, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008941/0.00161, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9219/0.9219, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08828/1.01, 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.7345/0.7345, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03072/0.7652, allocations: 21.04 MB / 0.5432 GB, free: 31.96 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.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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.5445 GB, free: 30.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.315e-06/9.557e-06, allocations: 2.312 kB / 0.5445 GB, free: 30.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures): time 0.000852/0.0008616, allocations: 0.7041 MB / 0.5452 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.309e-05/0.0008847, allocations: 11.92 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.38e-05/0.0008985, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.978e-06/0.0009025, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.714e-06/0.0009102, allocations: 7.938 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.09e-05/0.0009311, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.291e-05/0.000974, allocations: 15.97 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.327e-05/0.001007, allocations: 7.938 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.128e-05/0.001049, allocations: 15.92 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.001095, allocations: 7.984 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.001111, allocations: 0 / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.112e-06/0.001117, allocations: 4 kB / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.248e-06/0.001127, allocations: 3.938 kB / 0.5453 GB, free: 29.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.87e-05/0.001145, allocations: 4 kB / 0.5453 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.943e-05/0.001195, allocations: 15.92 kB / 0.5453 GB, free: 29.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.001206, allocations: 0 / 0.5453 GB, free: 29.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.001207, allocations: 0 / 0.5453 GB, free: 29.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.001218, allocations: 0 / 0.5453 GB, free: 29.81 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.0002204/0.001438, allocations: 231.1 kB / 0.5455 GB, free: 29.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.001466, allocations: 15.89 kB / 0.5455 GB, free: 29.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.647e-05/0.001482, allocations: 4.938 kB / 0.5455 GB, free: 29.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.918e-05/0.001531, allocations: 109.8 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.001539, allocations: 4.312 kB / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.001546, allocations: 8.359 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.937e-05/0.001595, allocations: 38.25 kB / 0.5457 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.001601, allocations: 192 / 0.5457 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-06/0.001606, allocations: 384 / 0.5457 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.001609, allocations: 384 / 0.5457 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.001627, allocations: 15.86 kB / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.334e-05/0.001691, allocations: 61.05 kB / 0.5457 GB, free: 29.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.001799, allocations: 50.59 kB / 0.5458 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/0.001815, allocations: 8.859 kB / 0.5458 GB, free: 29.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-06/0.00182, allocations: 0 / 0.5458 GB, free: 29.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.001833, allocations: 34.56 kB / 0.5458 GB, free: 29.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.11e-07/0.001834, allocations: 0 / 0.5458 GB, free: 29.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 7.136e-05/0.001905, allocations: 45.72 kB / 0.5459 GB, free: 29.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.769e-05/0.001923, allocations: 51.41 kB / 0.5459 GB, free: 29.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.717e-05/0.00195, allocations: 102.7 kB / 0.546 GB, free: 28.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.569e-06/0.001954, allocations: 33.7 kB / 0.5461 GB, free: 28.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.063e-06/0.001961, allocations: 84.12 kB / 0.5461 GB, free: 28.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.001982, allocations: 15.84 kB / 0.5461 GB, free: 28.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.002002, allocations: 17.7 kB / 0.5462 GB, free: 28.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.894e-05/0.00203, allocations: 322.8 kB / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-06/0.002037, allocations: 3.312 kB / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.002044, allocations: 8 kB / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.92e-05/0.002063, allocations: 20.78 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.002064, allocations: 0 / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 2.725e-05/0.002091, allocations: 41.69 kB / 0.5465 GB, free: 28.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.0021, allocations: 4 kB / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.002104, allocations: 0 / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.681e-06/0.002109, allocations: 4 kB / 0.5466 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.938e-05/0.002139, allocations: 8 kB / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.002141, allocations: 0 / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.427e-06/0.002151, allocations: 0 / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-06/0.002152, allocations: 0 / 0.5466 GB, free: 28.34 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 2.843e-05/0.002181, allocations: 117.8 kB / 0.5467 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-06/0.002184, allocations: 336 / 0.5467 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.49e-05/0.002199, allocations: 11.69 kB / 0.5467 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.0022, allocations: 7.922 kB / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.002201, allocations: 3.938 kB / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.002204, allocations: 0 / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.553e-05/0.002239, allocations: 77.83 kB / 0.5468 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.00224, allocations: 0 / 0.5468 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.234e-05/0.002253, allocations: 8 kB / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.002258, allocations: 7.984 kB / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-07/0.002259, allocations: 0 / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-06/0.002261, allocations: 0 / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.002262, allocations: 0 / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.002263, allocations: 0 / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.448e-05/0.002297, allocations: 69.06 kB / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-06/0.002302, allocations: 0 / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.002309, allocations: 3.312 kB / 0.5469 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-06/0.002315, allocations: 7.984 kB / 0.5469 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-07/0.002316, allocations: 0 / 0.5469 GB, free: 27.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.352e-06/0.002323, allocations: 16.8 kB / 0.5469 GB, free: 27.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.002323, allocations: 0 / 0.5469 GB, free: 27.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 7.919e-05/0.002402, allocations: 4 kB / 0.5469 GB, free: 27.97 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 3.775e-05/0.00244, allocations: 80.42 kB / 0.547 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 3.545e-05/0.002475, allocations: 20.84 kB / 0.547 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.002479, allocations: 0 / 0.547 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.534e-06/0.002487, allocations: 12.86 kB / 0.547 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.835e-05/0.002525, allocations: 25.78 kB / 0.547 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000124/0.002649, allocations: 136.4 kB / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.221e-05/0.002661, allocations: 59.34 kB / 0.5472 GB, free: 27.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.536e-06/0.00267, allocations: 0 / 0.5472 GB, free: 27.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.002689, allocations: 51.38 kB / 0.5472 GB, free: 27.53 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.00269, allocations: 0 / 0.5472 GB, free: 27.53 MB / 410.7 MB Notification: Performance of Templates: time 0.00157/0.00426, allocations: 456 kB / 0.5477 GB, free: 27.13 MB / 410.7 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: 3.040992028079927]