Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.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.0009941/0.0009941, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001482/0.002476, allocations: 455.9 kB / 10.35 MB, free: 348 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.0008907/0.0008907, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002199, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.083/1.083, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.13/1.213, allocations: 53.68 MB / 243.3 MB, free: 15.55 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.8569/0.8569, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03293/0.8898, allocations: 21.04 MB / 0.5433 GB, free: 31.73 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.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 3.984 kB / 0.5446 GB, free: 30.36 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.35e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg): time 0.001112/0.001136, allocations: 0.7056 MB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.465e-05/0.00116, allocations: 11.88 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.654e-05/0.001177, allocations: 0 / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.118e-06/0.001181, allocations: 0 / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.544e-06/0.001189, allocations: 3.938 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.377e-05/0.001212, allocations: 3.984 kB / 0.5453 GB, free: 29.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.62e-05/0.001259, allocations: 23.91 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.001297, allocations: 8 kB / 0.5453 GB, free: 29.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.34e-05/0.001341, allocations: 11.98 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.477e-05/0.001385, allocations: 4 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.0014, allocations: 0 / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.618e-06/0.001405, allocations: 0 / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.001415, allocations: 7.938 kB / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.001433, allocations: 4 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.644e-05/0.001479, allocations: 15.86 kB / 0.5454 GB, free: 29.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.001489, allocations: 0 / 0.5454 GB, free: 29.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.00149, allocations: 0 / 0.5454 GB, free: 29.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.001499, allocations: 0 / 0.5454 GB, free: 29.56 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.0002668/0.001766, allocations: 239.1 kB / 0.5456 GB, free: 29.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.001798, allocations: 11.89 kB / 0.5456 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.884e-05/0.001817, allocations: 8.922 kB / 0.5456 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.516e-05/0.001872, allocations: 113.7 kB / 0.5457 GB, free: 29.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.001882, allocations: 384 / 0.5457 GB, free: 29.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.001889, allocations: 384 / 0.5457 GB, free: 29.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.407e-05/0.001953, allocations: 34.25 kB / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.00196, allocations: 192 / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.001967, allocations: 8.375 kB / 0.5458 GB, free: 29.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.001971, allocations: 384 / 0.5458 GB, free: 29.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.001993, allocations: 11.94 kB / 0.5458 GB, free: 29.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.41e-05/0.002077, allocations: 57.05 kB / 0.5459 GB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.002238, allocations: 50.52 kB / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.002259, allocations: 8.859 kB / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.002267, allocations: 4 kB / 0.5459 GB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.002285, allocations: 34.56 kB / 0.5459 GB, free: 28.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.002286, allocations: 0 / 0.5459 GB, free: 28.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 9.691e-05/0.002383, allocations: 41.78 kB / 0.546 GB, free: 28.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.002409, allocations: 55.41 kB / 0.546 GB, free: 28.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.115e-05/0.00245, allocations: 102.7 kB / 0.5461 GB, free: 28.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.889e-06/0.002455, allocations: 29.7 kB / 0.5462 GB, free: 28.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.003e-05/0.002465, allocations: 88.06 kB / 0.5462 GB, free: 28.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.002491, allocations: 19.84 kB / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.002514, allocations: 13.72 kB / 0.5463 GB, free: 28.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.779e-05/0.002552, allocations: 322.8 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-06/0.002559, allocations: 4 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-06/0.002567, allocations: 4 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.332e-05/0.002591, allocations: 16.84 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.002593, allocations: 0 / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.854e-05/0.002631, allocations: 37.97 kB / 0.5466 GB, free: 28.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.00265, allocations: 12 kB / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.002655, allocations: 7 kB / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.002664, allocations: 4.031 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.216e-05/0.002706, allocations: 7.938 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.002709, allocations: 4 kB / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.045e-05/0.002719, allocations: 0 / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-06/0.002723, allocations: 4 kB / 0.5467 GB, free: 28.08 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.563e-05/0.002758, allocations: 109.8 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-06/0.002763, allocations: 4 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.002783, allocations: 11.67 kB / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.002784, allocations: 4 kB / 0.5468 GB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.002786, allocations: 4 kB / 0.5468 GB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.002788, allocations: 0 / 0.5468 GB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.978e-05/0.002828, allocations: 65.84 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.002828, allocations: 0 / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.341e-05/0.002842, allocations: 8 kB / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.002848, allocations: 7.969 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.002849, allocations: 4 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-06/0.002852, allocations: 0 / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.002852, allocations: 0 / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.002853, allocations: 0 / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.469e-05/0.002897, allocations: 77 kB / 0.547 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-06/0.002903, allocations: 0 / 0.547 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.051e-06/0.002909, allocations: 0 / 0.547 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-06/0.002919, allocations: 4 kB / 0.547 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.002921, allocations: 3.984 kB / 0.547 GB, free: 27.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.048e-05/0.002931, allocations: 12.17 kB / 0.547 GB, free: 27.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.002931, allocations: 0 / 0.547 GB, free: 27.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.319e-05/0.003014, allocations: 4 kB / 0.547 GB, free: 27.72 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 5.025e-05/0.003065, allocations: 83.55 kB / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.903e-05/0.003114, allocations: 24.78 kB / 0.5471 GB, free: 27.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.003121, allocations: 4 kB / 0.5471 GB, free: 27.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.315e-05/0.003134, allocations: 16.8 kB / 0.5471 GB, free: 27.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.406e-05/0.003188, allocations: 7.938 kB / 0.5471 GB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001558/0.003344, allocations: 136.4 kB / 0.5473 GB, free: 27.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.64e-05/0.00336, allocations: 55.36 kB / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.239e-05/0.003373, allocations: 0 / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.003395, allocations: 51.38 kB / 0.5474 GB, free: 27.29 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.003395, allocations: 0 / 0.5474 GB, free: 27.29 MB / 410.7 MB Notification: Performance of Templates: time 0.001708/0.005103, allocations: 452 kB / 0.5478 GB, free: 26.85 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.406198736280203]