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.001129/0.001129, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001599/0.002728, allocations: 443.8 kB / 10.3 MB, free: 400 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.001155/0.001155, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001511/0.002666, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9906/0.9906, allocations: 177.1 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08895/1.08, allocations: 53.67 MB / 243.2 MB, free: 15.57 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.7462/0.7462, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03454/0.7808, allocations: 21.04 MB / 0.5431 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.723e-06/1.723e-06, allocations: 0 / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.148e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures): time 0.001478/0.0015, allocations: 0.7014 MB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.944e-05/0.001529, allocations: 3.938 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.001546, allocations: 0 / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.97e-06/0.001551, allocations: 3.938 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.067e-06/0.00156, allocations: 0 / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.514e-05/0.001585, allocations: 7.984 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.872e-05/0.001634, allocations: 15.92 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.001675, allocations: 4 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.751e-05/0.001732, allocations: 15.97 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.001784, allocations: 7.938 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.001806, allocations: 4 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.501e-06/0.001811, allocations: 4 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.001822, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.001841, allocations: 7.938 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.918e-05/0.0019, allocations: 7.984 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.506e-05/0.001915, allocations: 0 / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.001916, allocations: 0 / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.001932, allocations: 0 / 0.5452 GB, free: 29.84 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.0003026/0.002234, allocations: 235 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.002266, allocations: 11.89 kB / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.0023, allocations: 12.23 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.518e-05/0.002365, allocations: 117.7 kB / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.00238, allocations: 384 / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-06/0.002386, allocations: 384 / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.643e-05/0.002452, allocations: 42.19 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.002461, allocations: 192 / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.002467, allocations: 4.375 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.002472, allocations: 384 / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.856e-05/0.00249, allocations: 7.938 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.196e-05/0.002572, allocations: 57.05 kB / 0.5457 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.00272, allocations: 42.59 kB / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.002737, allocations: 16.86 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.493e-06/0.002744, allocations: 3.938 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.00276, allocations: 38.5 kB / 0.5458 GB, free: 29.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.002761, allocations: 0 / 0.5458 GB, free: 29.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 9.044e-05/0.002852, allocations: 45.77 kB / 0.5458 GB, free: 29.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.002873, allocations: 55.41 kB / 0.5458 GB, free: 29.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.54e-05/0.002908, allocations: 106.7 kB / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-06/0.002912, allocations: 25.7 kB / 0.546 GB, free: 28.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-06/0.002919, allocations: 84.14 kB / 0.5461 GB, free: 28.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.002943, allocations: 19.83 kB / 0.5461 GB, free: 28.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.002968, allocations: 17.72 kB / 0.5461 GB, free: 28.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.104e-05/0.002999, allocations: 318.8 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-06/0.003007, allocations: 4 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-06/0.003015, allocations: 7.938 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.201e-05/0.003037, allocations: 16.84 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.003039, allocations: 0 / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.668e-05/0.003076, allocations: 37.7 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.003089, allocations: 7.984 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.003093, allocations: 0 / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.003101, allocations: 0 / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.426e-05/0.003136, allocations: 12 kB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.003138, allocations: 0 / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.00315, allocations: 4 kB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.003153, allocations: 3.188 kB / 0.5465 GB, free: 28.37 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 4.283e-05/0.003196, allocations: 121.7 kB / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-06/0.003202, allocations: 0 / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.757e-05/0.003219, allocations: 11.67 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.00322, allocations: 4 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.003222, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.003224, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.68e-05/0.003271, allocations: 69.84 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.003272, allocations: 4 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.003287, allocations: 4 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-06/0.003293, allocations: 4 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.003295, allocations: 3.984 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.003299, allocations: 0 / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.003299, allocations: 0 / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.003301, allocations: 3.938 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.699e-05/0.003348, allocations: 73 kB / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-06/0.003356, allocations: 4 kB / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-06/0.003364, allocations: 0 / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-06/0.003373, allocations: 0 / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.003375, allocations: 4 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.788e-06/0.003384, allocations: 16.83 kB / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003384, allocations: 0 / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of remove unused functions: time 9.349e-05/0.003478, allocations: 4 kB / 0.5468 GB, free: 28 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.162e-05/0.00354, allocations: 84.42 kB / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.14e-05/0.003601, allocations: 21.22 kB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.003603, allocations: 0 / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.003611, allocations: 12.89 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.485e-05/0.003676, allocations: 9.906 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001783/0.003855, allocations: 162.2 kB / 0.5471 GB, free: 27.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.438e-05/0.003879, allocations: 55.36 kB / 0.5471 GB, free: 27.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.003908, allocations: 55.36 kB / 0.5472 GB, free: 27.54 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.003909, allocations: 0 / 0.5472 GB, free: 27.54 MB / 410.7 MB Notification: Performance of Templates: time 0.001116/0.005024, allocations: 0.5155 MB / 0.5477 GB, free: 27.04 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 > 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.9881194857880473]