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.0006665/0.0006665, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008628/0.001529, allocations: 440 kB / 10.41 MB, free: 284 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.0006762/0.0006762, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.00169, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9611/0.9611, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.063, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7358/0.7358, allocations: 291.1 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02808/0.7639, allocations: 21.05 MB / 0.5433 GB, free: 31.48 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 1.533e-06/1.533e-06, allocations: 0 / 0.5447 GB, free: 30.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.265e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg): time 0.0009988/0.001022, allocations: 0.6949 MB / 0.5454 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.365e-05/0.001045, allocations: 7.938 kB / 0.5454 GB, free: 29.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.516e-05/0.00106, allocations: 4 kB / 0.5454 GB, free: 29.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.93e-06/0.001065, allocations: 3.938 kB / 0.5454 GB, free: 29.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.105e-06/0.001073, allocations: 0 / 0.5454 GB, free: 29.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.136e-05/0.001095, allocations: 7.984 kB / 0.5454 GB, free: 29.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.35e-05/0.001138, allocations: 11.94 kB / 0.5454 GB, free: 29.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.001176, allocations: 11.97 kB / 0.5454 GB, free: 29.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.699e-05/0.001223, allocations: 8 kB / 0.5454 GB, free: 29.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.981e-05/0.001273, allocations: 11.92 kB / 0.5454 GB, free: 29.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.00129, allocations: 0 / 0.5454 GB, free: 29.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.739e-06/0.001295, allocations: 0 / 0.5454 GB, free: 29.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.001311, allocations: 4 kB / 0.5454 GB, free: 29.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.001329, allocations: 8 kB / 0.5454 GB, free: 29.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.593e-05/0.001385, allocations: 15.86 kB / 0.5454 GB, free: 29.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.001396, allocations: 0 / 0.5454 GB, free: 29.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.001396, allocations: 0 / 0.5454 GB, free: 29.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.001403, allocations: 0 / 0.5454 GB, free: 29.29 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.0002897/0.001693, allocations: 235.1 kB / 0.5457 GB, free: 29.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.001723, allocations: 11.89 kB / 0.5457 GB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.001747, allocations: 4.938 kB / 0.5457 GB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.017e-05/0.001807, allocations: 117.7 kB / 0.5458 GB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.001816, allocations: 3.75 kB / 0.5458 GB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.001824, allocations: 4.375 kB / 0.5458 GB, free: 28.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.594e-05/0.001879, allocations: 34.27 kB / 0.5458 GB, free: 28.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.001886, allocations: 192 / 0.5458 GB, free: 28.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-06/0.001892, allocations: 4.375 kB / 0.5458 GB, free: 28.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.001897, allocations: 4.359 kB / 0.5458 GB, free: 28.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.628e-05/0.001913, allocations: 11.92 kB / 0.5459 GB, free: 28.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.969e-05/0.001983, allocations: 57.05 kB / 0.5459 GB, free: 28.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.002099, allocations: 42.55 kB / 0.546 GB, free: 28.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.002114, allocations: 20.92 kB / 0.546 GB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.00212, allocations: 8 kB / 0.546 GB, free: 28.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.002134, allocations: 30.56 kB / 0.546 GB, free: 28.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 5.41e-07/0.002134, allocations: 0 / 0.546 GB, free: 28.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 7.763e-05/0.002212, allocations: 41.69 kB / 0.546 GB, free: 28.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.00223, allocations: 59.34 kB / 0.5461 GB, free: 28.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.957e-05/0.002259, allocations: 98.72 kB / 0.5462 GB, free: 28.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.348e-06/0.002264, allocations: 25.7 kB / 0.5462 GB, free: 28.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.759e-06/0.002274, allocations: 96.05 kB / 0.5463 GB, free: 28.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.002296, allocations: 15.84 kB / 0.5463 GB, free: 28.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.002314, allocations: 13.72 kB / 0.5463 GB, free: 28.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.866e-05/0.002343, allocations: 318.8 kB / 0.5466 GB, free: 27.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-06/0.002349, allocations: 8 kB / 0.5467 GB, free: 27.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-06/0.002355, allocations: 7.984 kB / 0.5467 GB, free: 27.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.774e-05/0.002373, allocations: 12.86 kB / 0.5467 GB, free: 27.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.002375, allocations: 0 / 0.5467 GB, free: 27.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 2.818e-05/0.002403, allocations: 41.62 kB / 0.5467 GB, free: 27.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.002412, allocations: 8 kB / 0.5467 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.002416, allocations: 0 / 0.5467 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.002426, allocations: 0 / 0.5467 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.354e-05/0.00246, allocations: 15.98 kB / 0.5467 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.002463, allocations: 0 / 0.5467 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.318e-05/0.002476, allocations: 4 kB / 0.5467 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-06/0.002479, allocations: 0 / 0.5467 GB, free: 27.8 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.513e-05/0.002514, allocations: 113.8 kB / 0.5468 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-06/0.002518, allocations: 0 / 0.5468 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.002537, allocations: 7.688 kB / 0.5469 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.002539, allocations: 4 kB / 0.5469 GB, free: 27.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.002541, allocations: 0 / 0.5469 GB, free: 27.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.002545, allocations: 0 / 0.5469 GB, free: 27.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.469e-05/0.002589, allocations: 73.08 kB / 0.5469 GB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.00259, allocations: 0 / 0.5469 GB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.002602, allocations: 8 kB / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-06/0.002607, allocations: 4 kB / 0.5469 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.002608, allocations: 4.328 kB / 0.5469 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-06/0.002611, allocations: 0 / 0.5469 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.002611, allocations: 0 / 0.5469 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.002612, allocations: 0 / 0.5469 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.751e-05/0.002659, allocations: 84.95 kB / 0.547 GB, free: 27.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-06/0.002666, allocations: 0 / 0.547 GB, free: 27.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-06/0.002673, allocations: 4 kB / 0.547 GB, free: 27.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.002683, allocations: 0 / 0.547 GB, free: 27.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-07/0.002684, allocations: 0 / 0.547 GB, free: 27.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.548e-06/0.002694, allocations: 8.859 kB / 0.547 GB, free: 27.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002694, allocations: 7.938 kB / 0.547 GB, free: 27.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.509e-05/0.002779, allocations: 8 kB / 0.5471 GB, free: 27.44 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.446e-05/0.002834, allocations: 84.41 kB / 0.5471 GB, free: 27.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.844e-05/0.002882, allocations: 16.8 kB / 0.5471 GB, free: 27.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.002888, allocations: 4 kB / 0.5472 GB, free: 27.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.002901, allocations: 12.84 kB / 0.5472 GB, free: 27.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.07e-05/0.002962, allocations: 13.62 kB / 0.5472 GB, free: 27.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001445/0.003106, allocations: 136.4 kB / 0.5473 GB, free: 27.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.668e-05/0.003123, allocations: 59.36 kB / 0.5474 GB, free: 27.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.246e-05/0.003135, allocations: 0 / 0.5474 GB, free: 27.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.003161, allocations: 51.38 kB / 0.5474 GB, free: 27 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.003161, allocations: 0 / 0.5474 GB, free: 27 MB / 410.7 MB Notification: Performance of Templates: time 0.001429/0.004591, allocations: 359.9 kB / 0.5478 GB, free: 26.66 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.1711795702576637]