Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.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.001014/0.001014, 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.00106/0.00106, 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 1.052/1.052, 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.7528/0.7528, allocations: 291.2 MB / 0.5382 GB, free: 51.82 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.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6974 GB, free: 10.42 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.131e-05, allocations: 10.16 kB / 0.6974 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power): time 0.001544/0.001576, allocations: 0.6388 MB / 0.698 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 6.685e-05/0.001643, allocations: 11.97 kB / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.001676, allocations: 0 / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.001694, allocations: 7.875 kB / 0.698 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.686e-05/0.001721, allocations: 0 / 0.698 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.032e-05/0.001791, allocations: 0 / 0.698 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.001854, allocations: 19.98 kB / 0.698 GB, free: 9.73 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.46e-05/0.001919, allocations: 4 kB / 0.698 GB, free: 9.727 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.001962, allocations: 11.92 kB / 0.698 GB, free: 9.715 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.002026, allocations: 7.984 kB / 0.698 GB, free: 9.707 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.002053, allocations: 4 kB / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-06/0.002058, allocations: 0 / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.002076, allocations: 0 / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.002098, allocations: 3.938 kB / 0.6981 GB, free: 9.699 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.661e-05/0.002164, allocations: 23.83 kB / 0.6981 GB, free: 9.676 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.002168, allocations: 4 kB / 0.6981 GB, free: 9.672 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.222e-06/0.002169, allocations: 0 / 0.6981 GB, free: 9.672 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.002175, allocations: 4 kB / 0.6981 GB, free: 9.668 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.000338/0.002513, allocations: 250.4 kB / 0.6983 GB, free: 9.391 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.002567, allocations: 12.03 kB / 0.6983 GB, free: 9.379 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.002599, allocations: 0.9375 kB / 0.6983 GB, free: 9.379 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.404e-05/0.002673, allocations: 113.8 kB / 0.6984 GB, free: 9.242 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.002687, allocations: 384 / 0.6984 GB, free: 9.242 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.002698, allocations: 4.359 kB / 0.6984 GB, free: 9.238 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.299e-05/0.002791, allocations: 42.25 kB / 0.6985 GB, free: 9.191 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.0028, allocations: 192 / 0.6985 GB, free: 9.191 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.00281, allocations: 384 / 0.6985 GB, free: 9.191 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.002815, allocations: 4.375 kB / 0.6985 GB, free: 9.188 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.431e-05/0.002859, allocations: 15.88 kB / 0.6985 GB, free: 9.172 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.003009, allocations: 105.3 kB / 0.6986 GB, free: 9.039 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.003191, allocations: 50.58 kB / 0.6987 GB, free: 8.98 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.003225, allocations: 12.86 kB / 0.6987 GB, free: 8.965 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.003236, allocations: 4 kB / 0.6987 GB, free: 8.961 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.003253, allocations: 30.56 kB / 0.6987 GB, free: 8.922 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 1.654e-06/0.003254, allocations: 0 / 0.6987 GB, free: 8.922 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001646/0.003419, allocations: 57.77 kB / 0.6988 GB, free: 8.859 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.003445, allocations: 51.41 kB / 0.6988 GB, free: 8.797 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.917e-05/0.003504, allocations: 113.7 kB / 0.6989 GB, free: 8.676 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.00351, allocations: 25.7 kB / 0.6989 GB, free: 8.645 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.102e-05/0.003531, allocations: 88.14 kB / 0.699 GB, free: 8.555 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.003562, allocations: 11.84 kB / 0.699 GB, free: 8.543 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.00359, allocations: 21.7 kB / 0.6991 GB, free: 8.516 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.003652, allocations: 310.8 kB / 0.6993 GB, free: 8.203 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.003673, allocations: 4 kB / 0.6994 GB, free: 8.199 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.326e-05/0.003686, allocations: 8.25 kB / 0.6994 GB, free: 8.191 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.003726, allocations: 24.84 kB / 0.6994 GB, free: 8.164 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.00373, allocations: 4 kB / 0.6994 GB, free: 8.16 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.158e-05/0.003801, allocations: 53.62 kB / 0.6994 GB, free: 8.102 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.003819, allocations: 8 kB / 0.6994 GB, free: 8.094 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.003825, allocations: 0 / 0.6994 GB, free: 8.094 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.003842, allocations: 0 / 0.6994 GB, free: 8.094 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.309e-05/0.003895, allocations: 4 kB / 0.6995 GB, free: 8.09 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.003903, allocations: 4 kB / 0.6995 GB, free: 8.086 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.003918, allocations: 11.89 kB / 0.6995 GB, free: 8.074 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.003924, allocations: 0 / 0.6995 GB, free: 8.074 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 4.996e-05/0.003974, allocations: 106.5 kB / 0.6996 GB, free: 7.961 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-06/0.00398, allocations: 4.328 kB / 0.6996 GB, free: 7.957 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.004008, allocations: 7.688 kB / 0.6996 GB, free: 7.949 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.00401, allocations: 7.984 kB / 0.6996 GB, free: 7.941 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.004016, allocations: 3.984 kB / 0.6996 GB, free: 7.938 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.004019, allocations: 7.938 kB / 0.6996 GB, free: 7.93 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.48e-05/0.004074, allocations: 101.3 kB / 0.6997 GB, free: 7.801 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.004075, allocations: 0 / 0.6997 GB, free: 7.801 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.552e-05/0.00409, allocations: 7.938 kB / 0.6997 GB, free: 7.793 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.004093, allocations: 4 kB / 0.6997 GB, free: 7.789 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.004098, allocations: 0 / 0.6997 GB, free: 7.789 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.004101, allocations: 3.984 kB / 0.6997 GB, free: 7.785 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.004102, allocations: 0 / 0.6997 GB, free: 7.785 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.758e-05/0.004169, allocations: 81.02 kB / 0.6998 GB, free: 7.688 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-06/0.004174, allocations: 4 kB / 0.6998 GB, free: 7.684 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.004184, allocations: 4 kB / 0.6998 GB, free: 7.68 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/0.004191, allocations: 0 / 0.6998 GB, free: 7.68 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.004204, allocations: 7.875 kB / 0.6998 GB, free: 7.672 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-06/0.004205, allocations: 0 / 0.6998 GB, free: 7.672 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.775e-05/0.004223, allocations: 87.27 kB / 0.6999 GB, free: 7.586 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.004223, allocations: 0 / 0.6999 GB, free: 7.586 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001084/0.004331, allocations: 11.94 kB / 0.6999 GB, free: 7.574 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.183e-05/0.004413, allocations: 103.2 kB / 0.7 GB, free: 7.465 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 8.013e-05/0.004493, allocations: 23.98 kB / 0.7 GB, free: 7.441 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.004495, allocations: 0 / 0.7 GB, free: 7.441 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.878e-06/0.004505, allocations: 4 kB / 0.7 GB, free: 7.438 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.004625, allocations: 8 kB / 0.7 GB, free: 7.43 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.004899, allocations: 138.5 kB / 0.7002 GB, free: 7.262 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.062e-05/0.00494, allocations: 67.27 kB / 0.7002 GB, free: 7.176 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.00497, allocations: 12.5 kB / 0.7002 GB, free: 7.164 MB / 410.8 MB Notification: Performance of SimCode: time 1.032e-06/0.004971, allocations: 0 / 0.7002 GB, free: 7.164 MB / 410.8 MB Notification: Performance of Templates: time 0.001726/0.006696, allocations: 0.5248 MB / 0.7008 GB, free: 6.645 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.4153313878923655]