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.002476/0.002476, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.002983/0.002983, allocations: 173.9 kB / 22.46 MB, free: 2.102 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 1.633/1.633, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] 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 1.404/1.404, allocations: 292.9 MB / 0.5392 GB, free: 49.84 MB / 410.7 MB " [Timeout remaining time 178] 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.864e-06/1.864e-06, allocations: 0 / 0.6998 GB, free: 8.621 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/3.003e-05, allocations: 2.281 kB / 0.6998 GB, free: 8.617 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg): time 0.007898/0.007928, allocations: 0.6274 MB / 0.7005 GB, free: 7.988 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 5.941e-05/0.007988, allocations: 19.91 kB / 0.7005 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.008025, allocations: 0 / 0.7005 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.008041, allocations: 0 / 0.7005 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.877e-05/0.00807, allocations: 3.938 kB / 0.7005 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.884e-05/0.008119, allocations: 0 / 0.7005 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.948e-05/0.008188, allocations: 23.92 kB / 0.7005 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.648e-05/0.008245, allocations: 0 / 0.7005 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.008284, allocations: 7.984 kB / 0.7005 GB, free: 7.934 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.008335, allocations: 7.984 kB / 0.7005 GB, free: 7.926 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.008363, allocations: 0 / 0.7005 GB, free: 7.926 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.129e-06/0.008368, allocations: 0 / 0.7005 GB, free: 7.926 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.008383, allocations: 15.92 kB / 0.7005 GB, free: 7.91 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.008402, allocations: 3.938 kB / 0.7005 GB, free: 7.906 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.261e-05/0.008454, allocations: 11.97 kB / 0.7006 GB, free: 7.895 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.008457, allocations: 0 / 0.7006 GB, free: 7.895 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.51e-07/0.008458, allocations: 0 / 0.7006 GB, free: 7.895 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.008462, allocations: 4 kB / 0.7006 GB, free: 7.891 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.0003396/0.008802, allocations: 258.3 kB / 0.7008 GB, free: 7.605 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.00884, allocations: 8.031 kB / 0.7008 GB, free: 7.598 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.008873, allocations: 4.938 kB / 0.7008 GB, free: 7.594 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.216e-05/0.008946, allocations: 109.8 kB / 0.7009 GB, free: 7.461 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.00896, allocations: 4.375 kB / 0.7009 GB, free: 7.457 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.008969, allocations: 384 / 0.7009 GB, free: 7.457 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.009072, allocations: 42.19 kB / 0.701 GB, free: 7.41 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.009082, allocations: 192 / 0.701 GB, free: 7.41 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.00909, allocations: 8.312 kB / 0.701 GB, free: 7.402 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.009095, allocations: 4.375 kB / 0.701 GB, free: 7.398 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.349e-05/0.009148, allocations: 7.938 kB / 0.701 GB, free: 7.391 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.009278, allocations: 113.3 kB / 0.7011 GB, free: 7.25 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.009479, allocations: 46.64 kB / 0.7011 GB, free: 7.195 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.009517, allocations: 8.859 kB / 0.7011 GB, free: 7.184 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.009531, allocations: 3.938 kB / 0.7011 GB, free: 7.18 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.009548, allocations: 38.56 kB / 0.7012 GB, free: 7.133 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.009549, allocations: 0 / 0.7012 GB, free: 7.133 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001607/0.00971, allocations: 49.83 kB / 0.7012 GB, free: 7.078 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.009737, allocations: 51.41 kB / 0.7013 GB, free: 7.016 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.184e-05/0.009789, allocations: 113.8 kB / 0.7014 GB, free: 6.895 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.009796, allocations: 25.7 kB / 0.7014 GB, free: 6.863 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.431e-05/0.00981, allocations: 80.14 kB / 0.7015 GB, free: 6.781 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.009839, allocations: 19.84 kB / 0.7015 GB, free: 6.762 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.009876, allocations: 17.7 kB / 0.7015 GB, free: 6.738 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.009916, allocations: 314.8 kB / 0.7018 GB, free: 6.422 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.00994, allocations: 4 kB / 0.7018 GB, free: 6.418 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.168e-05/0.009962, allocations: 11.94 kB / 0.7018 GB, free: 6.406 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.932e-05/0.01001, allocations: 24.84 kB / 0.7019 GB, free: 6.379 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01001, allocations: 0 / 0.7019 GB, free: 6.379 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.967e-05/0.0101, allocations: 49.97 kB / 0.7019 GB, free: 6.324 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.01012, allocations: 4.781 kB / 0.7019 GB, free: 6.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.01012, allocations: 4 kB / 0.7019 GB, free: 6.316 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.01014, allocations: 0 / 0.7019 GB, free: 6.316 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.862e-05/0.0102, allocations: 4.047 kB / 0.7019 GB, free: 6.312 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.0102, allocations: 0 / 0.7019 GB, free: 6.312 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.01023, allocations: 11.88 kB / 0.7019 GB, free: 6.301 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.01024, allocations: 7.938 kB / 0.7019 GB, free: 6.293 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.399e-05/0.01029, allocations: 113.8 kB / 0.7021 GB, free: 6.172 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.0103, allocations: 4 kB / 0.7021 GB, free: 6.168 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.01032, allocations: 11.69 kB / 0.7021 GB, free: 6.156 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01033, allocations: 3.984 kB / 0.7021 GB, free: 6.152 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.01033, allocations: 0 / 0.7021 GB, free: 6.152 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.01034, allocations: 3.938 kB / 0.7021 GB, free: 6.148 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.857e-05/0.01041, allocations: 113.2 kB / 0.7022 GB, free: 6.008 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01041, allocations: 0 / 0.7022 GB, free: 6.008 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.01045, allocations: 4 kB / 0.7022 GB, free: 6.004 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01046, allocations: 0 / 0.7022 GB, free: 6.004 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.01046, allocations: 0 / 0.7022 GB, free: 6.004 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.01047, allocations: 7.984 kB / 0.7022 GB, free: 5.996 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01047, allocations: 0 / 0.7022 GB, free: 5.996 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.414e-05/0.01056, allocations: 84.95 kB / 0.7023 GB, free: 5.895 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.01057, allocations: 0 / 0.7023 GB, free: 5.895 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.01058, allocations: 4.25 kB / 0.7023 GB, free: 5.891 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.718e-05/0.01061, allocations: 4 kB / 0.7023 GB, free: 5.887 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.01062, allocations: 4 kB / 0.7023 GB, free: 5.883 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.01063, allocations: 0 / 0.7023 GB, free: 5.883 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.172e-05/0.01065, allocations: 83.27 kB / 0.7024 GB, free: 5.801 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01065, allocations: 0 / 0.7024 GB, free: 5.801 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002974/0.01094, allocations: 11.94 kB / 0.7024 GB, free: 5.789 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 8.543e-05/0.01103, allocations: 99.25 kB / 0.7025 GB, free: 5.684 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.01113, allocations: 23.98 kB / 0.7025 GB, free: 5.66 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01113, allocations: 0 / 0.7025 GB, free: 5.66 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.19e-05/0.01116, allocations: 7.938 kB / 0.7025 GB, free: 5.652 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.01136, allocations: 4 kB / 0.7025 GB, free: 5.648 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.01164, allocations: 116.1 kB / 0.7026 GB, free: 5.512 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.175e-05/0.01169, allocations: 63.34 kB / 0.7027 GB, free: 5.43 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.725e-05/0.01171, allocations: 0 / 0.7027 GB, free: 5.43 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.01173, allocations: 12.5 kB / 0.7027 GB, free: 5.418 MB / 410.8 MB Notification: Performance of SimCode: time 4.21e-07/0.01173, allocations: 0 / 0.7027 GB, free: 5.418 MB / 410.8 MB Notification: Performance of Templates: time 0.006297/0.01803, allocations: 411 kB / 0.7031 GB, free: 5.062 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 -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: 6.638722507050261]