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.001083/0.001083, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001515/0.002598, 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.0008526/0.0008526, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001925, 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 1/1, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1235/1.123, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.764/0.764, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03095/0.7949, allocations: 21.04 MB / 0.5431 GB, free: 31.94 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.643e-06/1.643e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.331e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg): time 0.001262/0.001285, allocations: 0.6927 MB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.144e-05/0.001316, allocations: 11.92 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.618e-05/0.001332, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.879e-06/0.001337, allocations: 3.938 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.112e-05/0.001348, allocations: 7.938 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.871e-05/0.001377, allocations: 3.984 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.038e-05/0.001428, allocations: 8 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.00147, allocations: 7.984 kB / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.001518, allocations: 15.94 kB / 0.5452 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.00157, allocations: 3.984 kB / 0.5452 GB, free: 29.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.001589, allocations: 4 kB / 0.5452 GB, free: 29.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-06/0.001596, allocations: 4 kB / 0.5452 GB, free: 29.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.001607, allocations: 3.938 kB / 0.5452 GB, free: 29.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.001629, allocations: 4 kB / 0.5453 GB, free: 29.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.811e-05/0.001687, allocations: 11.92 kB / 0.5453 GB, free: 29.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.495e-05/0.001702, allocations: 0 / 0.5453 GB, free: 29.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.001703, allocations: 0 / 0.5453 GB, free: 29.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.001719, allocations: 0 / 0.5453 GB, free: 29.79 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.0003034/0.002023, allocations: 235 kB / 0.5455 GB, free: 29.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.002052, allocations: 15.89 kB / 0.5455 GB, free: 29.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.002075, allocations: 8.938 kB / 0.5455 GB, free: 29.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.275e-05/0.002138, allocations: 113.7 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.002147, allocations: 4.312 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.002155, allocations: 4.375 kB / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.319e-05/0.002218, allocations: 34.25 kB / 0.5457 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.002224, allocations: 192 / 0.5457 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-06/0.002229, allocations: 384 / 0.5457 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.002234, allocations: 384 / 0.5457 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.002257, allocations: 15.92 kB / 0.5457 GB, free: 29.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.309e-05/0.00233, allocations: 61.05 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.002471, allocations: 46.53 kB / 0.5458 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.002489, allocations: 16.94 kB / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.002495, allocations: 0 / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.002511, allocations: 30.56 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.002512, allocations: 4 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 8.322e-05/0.002595, allocations: 49.62 kB / 0.5459 GB, free: 29.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.002615, allocations: 51.41 kB / 0.5459 GB, free: 29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.976e-05/0.002645, allocations: 102.7 kB / 0.546 GB, free: 28.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-06/0.00265, allocations: 29.7 kB / 0.5461 GB, free: 28.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.314e-06/0.002657, allocations: 84.12 kB / 0.5461 GB, free: 28.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.002681, allocations: 15.84 kB / 0.5461 GB, free: 28.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.002704, allocations: 17.72 kB / 0.5462 GB, free: 28.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.718e-05/0.002731, allocations: 322.8 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.002741, allocations: 3.984 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-06/0.002748, allocations: 4 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/0.002771, allocations: 16.48 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.002773, allocations: 0 / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.455e-05/0.002807, allocations: 45.62 kB / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.00282, allocations: 7.125 kB / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.002824, allocations: 0 / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.002832, allocations: 0 / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.002872, allocations: 15.98 kB / 0.5466 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.002874, allocations: 0 / 0.5466 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.476e-05/0.002889, allocations: 0 / 0.5466 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-06/0.002892, allocations: 0 / 0.5466 GB, free: 28.31 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.468e-05/0.002927, allocations: 117.8 kB / 0.5467 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-06/0.002931, allocations: 0 / 0.5467 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.762e-05/0.002948, allocations: 11.69 kB / 0.5467 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.00295, allocations: 3.938 kB / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.002951, allocations: 0 / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.002954, allocations: 3.984 kB / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.271e-05/0.002997, allocations: 73.83 kB / 0.5468 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.002998, allocations: 4 kB / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.637e-05/0.003014, allocations: 4 kB / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-06/0.00302, allocations: 4 kB / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.003021, allocations: 0 / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.003024, allocations: 3.938 kB / 0.5468 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.003025, allocations: 0 / 0.5468 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.003027, allocations: 3.984 kB / 0.5468 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.427e-05/0.003071, allocations: 69.38 kB / 0.5468 GB, free: 27.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-06/0.003078, allocations: 8 kB / 0.5469 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-06/0.003085, allocations: 0 / 0.5469 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-06/0.003095, allocations: 4 kB / 0.5469 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.003096, allocations: 0 / 0.5469 GB, free: 27.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.908e-06/0.003106, allocations: 15.91 kB / 0.5469 GB, free: 27.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003106, allocations: 0 / 0.5469 GB, free: 27.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.466e-05/0.003191, allocations: 4 kB / 0.5469 GB, free: 27.94 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.071e-05/0.003252, allocations: 80.42 kB / 0.547 GB, free: 27.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.536e-05/0.003307, allocations: 20.8 kB / 0.547 GB, free: 27.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.003314, allocations: 4 kB / 0.547 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.376e-06/0.003322, allocations: 12.84 kB / 0.547 GB, free: 27.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.082e-05/0.003383, allocations: 11.94 kB / 0.547 GB, free: 27.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000174/0.003557, allocations: 132.4 kB / 0.5471 GB, free: 27.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.124e-05/0.003578, allocations: 59.34 kB / 0.5472 GB, free: 27.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.287e-05/0.003591, allocations: 0 / 0.5472 GB, free: 27.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.003618, allocations: 51.38 kB / 0.5472 GB, free: 27.51 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.003619, allocations: 0 / 0.5472 GB, free: 27.51 MB / 410.7 MB Notification: Performance of Templates: time 0.001767/0.005386, allocations: 449 kB / 0.5477 GB, free: 27.07 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.4724140148609877]