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.001443/0.001443, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001066/0.001066, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9616/0.9616, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.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.6885/0.6885, allocations: 291.1 MB / 0.5382 GB, free: 51.89 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.425e-06/2.425e-06, allocations: 3.938 kB / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.864e-05, allocations: 6.219 kB / 0.6973 GB, free: 10.42 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg): time 0.005039/0.005068, allocations: 0.6194 MB / 0.6979 GB, free: 9.801 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 6.74e-05/0.005135, allocations: 11.92 kB / 0.6979 GB, free: 9.789 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.00517, allocations: 3.938 kB / 0.698 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.005186, allocations: 4 kB / 0.698 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.226e-05/0.005218, allocations: 0 / 0.698 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.581e-05/0.005274, allocations: 3.984 kB / 0.698 GB, free: 9.777 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.344e-05/0.005337, allocations: 23.86 kB / 0.698 GB, free: 9.754 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.795e-05/0.005395, allocations: 3.984 kB / 0.698 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.066e-05/0.005446, allocations: 8 kB / 0.698 GB, free: 9.742 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.005503, allocations: 7.984 kB / 0.698 GB, free: 9.734 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.005529, allocations: 0 / 0.698 GB, free: 9.734 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.51e-06/0.005535, allocations: 0 / 0.698 GB, free: 9.734 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.005551, allocations: 4 kB / 0.698 GB, free: 9.73 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.005573, allocations: 11.92 kB / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.513e-05/0.005638, allocations: 19.91 kB / 0.698 GB, free: 9.699 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.005641, allocations: 0 / 0.698 GB, free: 9.699 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.392e-06/0.005643, allocations: 0 / 0.698 GB, free: 9.699 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005647, allocations: 0 / 0.698 GB, free: 9.699 MB / 410.8 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.0003057/0.005953, allocations: 254.4 kB / 0.6983 GB, free: 9.418 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.005994, allocations: 8.031 kB / 0.6983 GB, free: 9.41 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.006027, allocations: 4.938 kB / 0.6983 GB, free: 9.406 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.483e-05/0.006092, allocations: 105.8 kB / 0.6984 GB, free: 9.277 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.006104, allocations: 4.375 kB / 0.6984 GB, free: 9.273 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.006114, allocations: 4.375 kB / 0.6984 GB, free: 9.27 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.309e-05/0.006207, allocations: 42.23 kB / 0.6984 GB, free: 9.223 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.006215, allocations: 192 / 0.6984 GB, free: 9.223 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.006223, allocations: 384 / 0.6984 GB, free: 9.223 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.006228, allocations: 4.375 kB / 0.6984 GB, free: 9.219 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.006276, allocations: 23.8 kB / 0.6985 GB, free: 9.195 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.006405, allocations: 105.3 kB / 0.6986 GB, free: 9.062 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.006602, allocations: 42.64 kB / 0.6986 GB, free: 9.012 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.006644, allocations: 12.86 kB / 0.6986 GB, free: 8.996 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.006657, allocations: 144 / 0.6986 GB, free: 8.996 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.006672, allocations: 46.48 kB / 0.6987 GB, free: 8.941 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.006673, allocations: 0 / 0.6987 GB, free: 8.941 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001624/0.006835, allocations: 57.62 kB / 0.6987 GB, free: 8.879 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.006859, allocations: 51.41 kB / 0.6988 GB, free: 8.816 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.282e-05/0.006912, allocations: 105.8 kB / 0.6989 GB, free: 8.703 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.064e-06/0.006919, allocations: 25.7 kB / 0.6989 GB, free: 8.672 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.418e-05/0.006933, allocations: 80.14 kB / 0.699 GB, free: 8.59 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.00696, allocations: 19.83 kB / 0.699 GB, free: 8.57 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.00699, allocations: 17.72 kB / 0.699 GB, free: 8.547 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.834e-05/0.007029, allocations: 310.8 kB / 0.6993 GB, free: 8.234 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.007049, allocations: 8 kB / 0.6993 GB, free: 8.227 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.544e-05/0.007065, allocations: 11.98 kB / 0.6993 GB, free: 8.215 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.568e-05/0.00711, allocations: 21.05 kB / 0.6993 GB, free: 8.191 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.007113, allocations: 4 kB / 0.6993 GB, free: 8.188 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.468e-05/0.007188, allocations: 53.69 kB / 0.6994 GB, free: 8.129 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.007205, allocations: 4 kB / 0.6994 GB, free: 8.125 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.00721, allocations: 0 / 0.6994 GB, free: 8.125 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.007224, allocations: 4 kB / 0.6994 GB, free: 8.121 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/0.0103, allocations: 4 kB / 0.6994 GB, free: 8.117 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.0103, allocations: 0 / 0.6994 GB, free: 8.117 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.01032, allocations: 7.891 kB / 0.6994 GB, free: 8.109 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.01033, allocations: 4 kB / 0.6994 GB, free: 8.105 MB / 410.8 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 5.396e-05/0.01038, allocations: 110.5 kB / 0.6995 GB, free: 7.988 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.016e-06/0.01039, allocations: 0 / 0.6995 GB, free: 7.988 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.01041, allocations: 16 kB / 0.6995 GB, free: 7.973 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01042, allocations: 3.938 kB / 0.6995 GB, free: 7.969 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01042, allocations: 0 / 0.6995 GB, free: 7.969 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01042, allocations: 7.922 kB / 0.6996 GB, free: 7.961 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.718e-05/0.01049, allocations: 105.3 kB / 0.6997 GB, free: 7.828 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01049, allocations: 0 / 0.6997 GB, free: 7.828 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.01054, allocations: 7.984 kB / 0.6997 GB, free: 7.82 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01054, allocations: 0 / 0.6997 GB, free: 7.82 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.01055, allocations: 4 kB / 0.6997 GB, free: 7.816 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01055, allocations: 0 / 0.6997 GB, free: 7.816 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.01055, allocations: 4 kB / 0.6997 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.234e-05/0.01064, allocations: 84.95 kB / 0.6998 GB, free: 7.711 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-06/0.01065, allocations: 0 / 0.6998 GB, free: 7.711 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.01066, allocations: 3.938 kB / 0.6998 GB, free: 7.707 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.792e-05/0.01068, allocations: 0 / 0.6998 GB, free: 7.707 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.0107, allocations: 4 kB / 0.6998 GB, free: 7.703 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.0107, allocations: 3.984 kB / 0.6998 GB, free: 7.699 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.058e-05/0.01072, allocations: 87.22 kB / 0.6998 GB, free: 7.613 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01072, allocations: 0 / 0.6998 GB, free: 7.613 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001784/0.0109, allocations: 11.94 kB / 0.6999 GB, free: 7.602 MB / 410.8 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 9.144e-05/0.01099, allocations: 95.25 kB / 0.6999 GB, free: 7.5 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.203e-05/0.01108, allocations: 19.98 kB / 0.7 GB, free: 7.48 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01109, allocations: 4 kB / 0.7 GB, free: 7.477 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.591e-05/0.0111, allocations: 8 kB / 0.7 GB, free: 7.469 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.01125, allocations: 7.938 kB / 0.7 GB, free: 7.461 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.01152, allocations: 134.5 kB / 0.7001 GB, free: 7.297 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.403e-05/0.01156, allocations: 67.34 kB / 0.7002 GB, free: 7.211 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.01158, allocations: 12.5 kB / 0.7002 GB, free: 7.199 MB / 410.8 MB Notification: Performance of SimCode: time 4.91e-07/0.01158, allocations: 0 / 0.7002 GB, free: 7.199 MB / 410.8 MB Notification: Performance of Templates: time 0.004859/0.01644, allocations: 0.5249 MB / 0.7007 GB, free: 6.68 MB / 410.8 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.151384585537016]