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.00272/0.00272, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.003852/0.003852, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.734/1.734, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.521/1.521, allocations: 316.7 MB / 0.6144 GB, free: 93 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.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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.005238/0.005238, allocations: 73.61 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2272, allocations: 73.98 MB / 0.8472 GB, free: 4.902 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg): time 0.002084/0.2292, allocations: 0.6183 MB / 0.8478 GB, free: 4.297 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.389e-05/0.2293, allocations: 12.55 kB / 0.8478 GB, free: 4.285 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.2293, allocations: 0.5 kB / 0.8478 GB, free: 4.285 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.2293, allocations: 0.5938 kB / 0.8478 GB, free: 4.285 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.287e-05/0.2294, allocations: 3.938 kB / 0.8478 GB, free: 4.281 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.827e-05/0.2294, allocations: 0.5938 kB / 0.8478 GB, free: 4.281 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.998e-05/0.2295, allocations: 15.98 kB / 0.8479 GB, free: 4.266 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.2296, allocations: 4.625 kB / 0.8479 GB, free: 4.262 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.702e-05/0.2296, allocations: 4.578 kB / 0.8479 GB, free: 4.258 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.2296, allocations: 15.92 kB / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.2296, allocations: 0.5938 kB / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-06/0.2297, allocations: 4.75 kB / 0.8479 GB, free: 4.238 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.2297, allocations: 3.938 kB / 0.8479 GB, free: 4.234 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.2297, allocations: 4.578 kB / 0.8479 GB, free: 4.23 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.17e-05/0.2298, allocations: 15.92 kB / 0.8479 GB, free: 4.215 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2298, allocations: 0.5 kB / 0.8479 GB, free: 4.215 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2298, allocations: 0.5312 kB / 0.8479 GB, free: 4.215 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2298, allocations: 0 / 0.8479 GB, free: 4.215 MB / 474.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.0004524/0.2302, allocations: 258.9 kB / 0.8482 GB, free: 3.93 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2303, allocations: 8.625 kB / 0.8482 GB, free: 3.922 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.2303, allocations: 5.625 kB / 0.8482 GB, free: 3.918 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.2304, allocations: 118.4 kB / 0.8483 GB, free: 3.777 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-06/0.2305, allocations: 0.875 kB / 0.8483 GB, free: 3.777 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2305, allocations: 4.953 kB / 0.8483 GB, free: 3.773 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.2306, allocations: 38.27 kB / 0.8483 GB, free: 3.73 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2306, allocations: 0.7812 kB / 0.8483 GB, free: 3.73 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.2306, allocations: 8.766 kB / 0.8483 GB, free: 3.723 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2306, allocations: 3.938 kB / 0.8483 GB, free: 3.719 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.852e-05/0.2306, allocations: 16 kB / 0.8484 GB, free: 3.703 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.2308, allocations: 105.9 kB / 0.8485 GB, free: 3.57 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.231, allocations: 43.31 kB / 0.8485 GB, free: 3.52 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.2311, allocations: 21.5 kB / 0.8485 GB, free: 3.496 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.2311, allocations: 4 kB / 0.8485 GB, free: 3.492 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.2311, allocations: 31.06 kB / 0.8486 GB, free: 3.453 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2311, allocations: 2.5 kB / 0.8486 GB, free: 3.453 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001707/0.2313, allocations: 61.56 kB / 0.8486 GB, free: 3.387 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.2313, allocations: 55.41 kB / 0.8487 GB, free: 3.32 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.362e-05/0.2314, allocations: 97.84 kB / 0.8488 GB, free: 3.215 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.2315, allocations: 29.7 kB / 0.8488 GB, free: 3.18 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.2315, allocations: 84.14 kB / 0.8489 GB, free: 3.094 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.2315, allocations: 7.906 kB / 0.8489 GB, free: 3.086 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.2316, allocations: 19.5 kB / 0.8489 GB, free: 3.062 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.2318, allocations: 314.8 kB / 0.8492 GB, free: 2.746 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.2318, allocations: 8 kB / 0.8492 GB, free: 2.738 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.469e-05/0.2318, allocations: 4 kB / 0.8492 GB, free: 2.734 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.2318, allocations: 22.14 kB / 0.8492 GB, free: 2.711 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2319, allocations: 0 / 0.8492 GB, free: 2.711 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.634e-05/0.2319, allocations: 53.62 kB / 0.8493 GB, free: 2.652 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.232, allocations: 8 kB / 0.8493 GB, free: 2.645 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.232, allocations: 0.6875 kB / 0.8493 GB, free: 2.645 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.232, allocations: 5.094 kB / 0.8493 GB, free: 2.641 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.232, allocations: 7.984 kB / 0.8493 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.232, allocations: 0 / 0.8493 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.2321, allocations: 11.89 kB / 0.8493 GB, free: 2.621 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.2321, allocations: 4.578 kB / 0.8493 GB, free: 2.617 MB / 474.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 8.991e-05/0.2322, allocations: 106.3 kB / 0.8494 GB, free: 2.504 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.2322, allocations: 4.828 kB / 0.8494 GB, free: 2.5 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.2322, allocations: 8.281 kB / 0.8494 GB, free: 2.492 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.2322, allocations: 7.922 kB / 0.8494 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2322, allocations: 0.6875 kB / 0.8494 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.2322, allocations: 0 / 0.8494 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.2323, allocations: 109.8 kB / 0.8495 GB, free: 2.348 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2323, allocations: 4.531 kB / 0.8495 GB, free: 2.344 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.2324, allocations: 4 kB / 0.8496 GB, free: 2.34 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2324, allocations: 0.6562 kB / 0.8496 GB, free: 2.34 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.2324, allocations: 4.719 kB / 0.8496 GB, free: 2.336 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2324, allocations: 0 / 0.8496 GB, free: 2.336 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.2324, allocations: 4.812 kB / 0.8496 GB, free: 2.332 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.2325, allocations: 81.02 kB / 0.8496 GB, free: 2.234 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-06/0.2325, allocations: 0.625 kB / 0.8496 GB, free: 2.234 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.2325, allocations: 11.98 kB / 0.8497 GB, free: 2.223 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.2325, allocations: 0.625 kB / 0.8497 GB, free: 2.223 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.2326, allocations: 8.438 kB / 0.8497 GB, free: 2.215 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.2326, allocations: 3.938 kB / 0.8497 GB, free: 2.211 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.225e-05/0.2326, allocations: 79.84 kB / 0.8497 GB, free: 2.133 MB / 474.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2326, allocations: 0.5938 kB / 0.8497 GB, free: 2.133 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001714/0.2328, allocations: 4 kB / 0.8497 GB, free: 2.129 MB / 474.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 0.0001223/0.2329, allocations: 112.2 kB / 0.8499 GB, free: 2.012 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.072e-05/0.233, allocations: 15.94 kB / 0.8499 GB, free: 1.996 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.233, allocations: 0 / 0.8499 GB, free: 1.996 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.622e-05/0.233, allocations: 15.98 kB / 0.8499 GB, free: 1.98 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.2332, allocations: 0 / 0.8499 GB, free: 1.98 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.2334, allocations: 118 kB / 0.85 GB, free: 1.84 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.514e-05/0.2335, allocations: 63.89 kB / 0.8501 GB, free: 1.758 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.798e-05/0.2335, allocations: 4 kB / 0.8501 GB, free: 1.754 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.2336, allocations: 8.406 kB / 0.8501 GB, free: 1.746 MB / 474.8 MB Notification: Performance of SimCode: time 3e-07/0.2336, allocations: 0 / 0.8501 GB, free: 1.746 MB / 474.8 MB Notification: Performance of Templates: time 0.002843/0.2364, allocations: 409.7 kB / 0.8505 GB, free: 1.414 MB / 474.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.622484607156366]