Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_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.001064/0.001064, allocations: 84.48 kB / 19.94 MB, free: 4.621 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.0009123/0.0009123, allocations: 173.2 kB / 23.21 MB, free: 1.348 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.8716/0.8716, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.6669/0.6669, allocations: 291.1 MB / 0.5382 GB, free: 51.91 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.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.6973 GB, free: 10.48 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.616e-05, allocations: 6.219 kB / 0.6973 GB, free: 10.47 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg): time 0.00111/0.001126, allocations: 0.6202 MB / 0.6979 GB, free: 9.848 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 3.649e-05/0.001163, allocations: 4 kB / 0.6979 GB, free: 9.844 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.001189, allocations: 4 kB / 0.6979 GB, free: 9.84 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.001203, allocations: 3.938 kB / 0.6979 GB, free: 9.836 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 1.896e-05/0.001222, allocations: 0 / 0.6979 GB, free: 9.836 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.517e-05/0.001267, allocations: 7.984 kB / 0.6979 GB, free: 9.828 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.993e-05/0.001317, allocations: 19.91 kB / 0.698 GB, free: 9.809 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.00136, allocations: 0 / 0.698 GB, free: 9.809 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.28e-05/0.001392, allocations: 11.98 kB / 0.698 GB, free: 9.797 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.318e-05/0.001436, allocations: 4 kB / 0.698 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.001455, allocations: 0 / 0.698 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-06/0.00146, allocations: 4 kB / 0.698 GB, free: 9.789 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.001472, allocations: 7.922 kB / 0.698 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.001488, allocations: 8 kB / 0.698 GB, free: 9.773 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 4.525e-05/0.001534, allocations: 19.84 kB / 0.698 GB, free: 9.754 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.001535, allocations: 0 / 0.698 GB, free: 9.754 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.51e-07/0.001536, allocations: 0 / 0.698 GB, free: 9.754 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.001539, allocations: 0 / 0.698 GB, free: 9.754 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.0002429/0.001782, allocations: 256.9 kB / 0.6983 GB, free: 9.473 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.001815, allocations: 8.031 kB / 0.6983 GB, free: 9.465 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.338e-05/0.001839, allocations: 0.9375 kB / 0.6983 GB, free: 9.465 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.986e-05/0.001889, allocations: 113.7 kB / 0.6984 GB, free: 9.328 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.001899, allocations: 8.375 kB / 0.6984 GB, free: 9.32 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.001907, allocations: 4.375 kB / 0.6984 GB, free: 9.316 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.07e-05/0.001977, allocations: 34.27 kB / 0.6984 GB, free: 9.277 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.001984, allocations: 192 / 0.6984 GB, free: 9.277 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.001992, allocations: 8.312 kB / 0.6984 GB, free: 9.27 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.001999, allocations: 12.34 kB / 0.6984 GB, free: 9.258 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.628e-05/0.002036, allocations: 11.88 kB / 0.6984 GB, free: 9.246 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.72e-05/0.002123, allocations: 113.3 kB / 0.6986 GB, free: 9.105 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.002263, allocations: 34.75 kB / 0.6986 GB, free: 9.062 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.00229, allocations: 24.84 kB / 0.6986 GB, free: 9.035 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.002299, allocations: 0 / 0.6986 GB, free: 9.035 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.729e-06/0.002309, allocations: 34.56 kB / 0.6986 GB, free: 8.992 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 6.11e-07/0.002309, allocations: 0 / 0.6986 GB, free: 8.992 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.004134/0.006443, allocations: 57.62 kB / 0.6987 GB, free: 8.93 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.006461, allocations: 51.41 kB / 0.6987 GB, free: 8.867 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.001e-05/0.006501, allocations: 109.8 kB / 0.6989 GB, free: 8.75 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.529e-06/0.006505, allocations: 25.7 kB / 0.6989 GB, free: 8.719 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.002e-05/0.006515, allocations: 80.14 kB / 0.699 GB, free: 8.637 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.006537, allocations: 19.84 kB / 0.699 GB, free: 8.617 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.006565, allocations: 13.72 kB / 0.699 GB, free: 8.598 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.546e-05/0.006591, allocations: 322.8 kB / 0.6993 GB, free: 8.273 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.006604, allocations: 4 kB / 0.6993 GB, free: 8.27 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.006615, allocations: 4 kB / 0.6993 GB, free: 8.266 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.177e-05/0.006647, allocations: 20.86 kB / 0.6993 GB, free: 8.242 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006649, allocations: 0 / 0.6993 GB, free: 8.242 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.018e-05/0.006699, allocations: 53.62 kB / 0.6994 GB, free: 8.184 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.00671, allocations: 4 kB / 0.6994 GB, free: 8.18 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.006713, allocations: 0 / 0.6994 GB, free: 8.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.006725, allocations: 4 kB / 0.6994 GB, free: 8.176 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.06e-05/0.006756, allocations: 4 kB / 0.6994 GB, free: 8.172 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.00676, allocations: 3.984 kB / 0.6994 GB, free: 8.168 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.006774, allocations: 11.89 kB / 0.6994 GB, free: 8.156 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.006778, allocations: 0 / 0.6994 GB, free: 8.156 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 3.062e-05/0.006808, allocations: 114.5 kB / 0.6995 GB, free: 8.035 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-06/0.006813, allocations: 0 / 0.6995 GB, free: 8.035 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.456e-05/0.006828, allocations: 11.69 kB / 0.6995 GB, free: 8.023 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.006829, allocations: 0 / 0.6995 GB, free: 8.023 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.006832, allocations: 0 / 0.6995 GB, free: 8.023 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.006835, allocations: 3.938 kB / 0.6995 GB, free: 8.02 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.145e-05/0.006876, allocations: 101.3 kB / 0.6996 GB, free: 7.891 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.006877, allocations: 4 kB / 0.6996 GB, free: 7.887 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.896e-05/0.006896, allocations: 15.94 kB / 0.6996 GB, free: 7.871 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.006897, allocations: 3.938 kB / 0.6996 GB, free: 7.867 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.006903, allocations: 0 / 0.6996 GB, free: 7.867 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.006904, allocations: 256 / 0.6996 GB, free: 7.867 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006904, allocations: 4.328 kB / 0.6996 GB, free: 7.863 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.293e-05/0.006957, allocations: 84.94 kB / 0.6997 GB, free: 7.762 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-06/0.006962, allocations: 4 kB / 0.6997 GB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.00697, allocations: 0 / 0.6997 GB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.095e-05/0.006981, allocations: 7.984 kB / 0.6997 GB, free: 7.75 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.006992, allocations: 4 kB / 0.6997 GB, free: 7.746 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.006994, allocations: 0 / 0.6997 GB, free: 7.746 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.277e-05/0.007007, allocations: 83.28 kB / 0.6998 GB, free: 7.664 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.007007, allocations: 0 / 0.6998 GB, free: 7.664 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001628/0.00717, allocations: 7.938 kB / 0.6998 GB, free: 7.656 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 5.653e-05/0.007226, allocations: 109.6 kB / 0.6999 GB, free: 7.543 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.45e-05/0.007291, allocations: 12 kB / 0.6999 GB, free: 7.531 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007292, allocations: 4 kB / 0.7 GB, free: 7.527 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.007305, allocations: 11.98 kB / 0.7 GB, free: 7.516 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.007429, allocations: 4 kB / 0.7 GB, free: 7.512 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001765/0.007605, allocations: 144.2 kB / 0.7001 GB, free: 7.34 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.568e-05/0.007631, allocations: 67.28 kB / 0.7002 GB, free: 7.254 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.007651, allocations: 12.5 kB / 0.7002 GB, free: 7.242 MB / 410.8 MB Notification: Performance of SimCode: time 4.21e-07/0.007651, allocations: 0 / 0.7002 GB, free: 7.242 MB / 410.8 MB Notification: Performance of Templates: time 0.001208/0.008859, allocations: 0.5259 MB / 0.7007 GB, free: 6.723 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.116616296581924]