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.001129/0.001129, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001898/0.003027, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.001153/0.001153, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001703/0.002856, allocations: 463.6 kB / 11.64 MB, free: 2.527 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 0.9522/0.9522, allocations: 177.2 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08667/1.039, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7908/0.7908, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02505/0.8158, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.072e-06/1.072e-06, allocations: 0 / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.957e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Visser2003_PD_eeg): time 0.00111/0.001129, allocations: 0.6945 MB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.586e-05/0.001155, allocations: 7.938 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.638e-05/0.001172, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.037e-06/0.001176, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.933e-06/0.001183, allocations: 3.938 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.36e-05/0.001206, allocations: 11.98 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.318e-05/0.001249, allocations: 15.92 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.001284, allocations: 3.984 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.844e-05/0.001333, allocations: 15.98 kB / 0.5451 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.001378, allocations: 4 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.001397, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.601e-06/0.001403, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.001413, allocations: 4 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.659e-05/0.001429, allocations: 3.938 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.884e-05/0.001478, allocations: 11.92 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.001492, allocations: 4 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.001493, allocations: 4 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.001506, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 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.000281/0.001787, allocations: 239 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.661e-05/0.001813, allocations: 11.89 kB / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.042e-05/0.001834, allocations: 8.922 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.437e-05/0.001888, allocations: 105.8 kB / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.001899, allocations: 4.375 kB / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.001905, allocations: 4.359 kB / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.983e-05/0.001965, allocations: 38.25 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.001972, allocations: 192 / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.001977, allocations: 4.375 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.001983, allocations: 4.375 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.718e-05/0.002, allocations: 11.88 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.898e-05/0.002069, allocations: 57.05 kB / 0.5456 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.002201, allocations: 42.59 kB / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.002218, allocations: 16.84 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.002224, allocations: 4 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.002237, allocations: 34.5 kB / 0.5457 GB, free: 29.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.002238, allocations: 0 / 0.5457 GB, free: 29.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 8.173e-05/0.00232, allocations: 49.72 kB / 0.5458 GB, free: 29.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.807e-05/0.002338, allocations: 51.41 kB / 0.5458 GB, free: 29.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.951e-05/0.002368, allocations: 106.7 kB / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-06/0.002372, allocations: 25.7 kB / 0.546 GB, free: 28.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.374e-06/0.002379, allocations: 84.12 kB / 0.546 GB, free: 28.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.002401, allocations: 19.84 kB / 0.5461 GB, free: 28.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.002423, allocations: 13.72 kB / 0.5461 GB, free: 28.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.538e-05/0.002448, allocations: 318.8 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-06/0.002456, allocations: 7.312 kB / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-06/0.002463, allocations: 4 kB / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.999e-05/0.002483, allocations: 20.83 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.002484, allocations: 4 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.681e-05/0.002521, allocations: 37.64 kB / 0.5464 GB, free: 28.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.002533, allocations: 11.98 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.002539, allocations: 0 / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.002547, allocations: 0 / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.534e-05/0.002583, allocations: 8 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.002585, allocations: 0 / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.002598, allocations: 4.328 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-06/0.002601, allocations: 0 / 0.5465 GB, free: 28.38 MB / 410.7 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.402e-05/0.002635, allocations: 109.8 kB / 0.5466 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-06/0.00264, allocations: 8 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.643e-05/0.002656, allocations: 15.66 kB / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.002658, allocations: 0 / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.002659, allocations: 0 / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.002661, allocations: 4 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.29e-05/0.002704, allocations: 65.84 kB / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.002704, allocations: 0 / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.509e-05/0.002719, allocations: 11.94 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-06/0.002724, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.002726, allocations: 3.984 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-06/0.002729, allocations: 8 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.00273, allocations: 0 / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.00273, allocations: 0 / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.119e-05/0.002771, allocations: 76.98 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-06/0.002777, allocations: 0 / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-06/0.002785, allocations: 3.125 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-06/0.002794, allocations: 4 kB / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-06/0.002795, allocations: 0 / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.645e-06/0.002803, allocations: 12.84 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.002803, allocations: 0 / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 9.03e-05/0.002893, allocations: 8 kB / 0.5468 GB, free: 28.01 MB / 410.7 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.488e-05/0.002948, allocations: 84.36 kB / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.816e-05/0.003007, allocations: 20.84 kB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.003009, allocations: 0 / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.915e-06/0.003017, allocations: 12.86 kB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.78e-05/0.003075, allocations: 5.906 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001853/0.00326, allocations: 162 kB / 0.5471 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.808e-05/0.003288, allocations: 55.36 kB / 0.5471 GB, free: 27.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.003319, allocations: 51.38 kB / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.00332, allocations: 4 kB / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of Templates: time 0.001217/0.004536, allocations: 0.5193 MB / 0.5477 GB, free: 27.04 MB / 410.7 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: 4.096705484203994]