Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect.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.000972/0.000972, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002264, allocations: 435.8 kB / 10.31 MB, free: 384 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.001255/0.001255, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.00265, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.098/1.098, allocations: 177.1 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1236/1.222, allocations: 53.65 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.7744/0.7744, allocations: 291.2 MB / 0.5226 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03657/0.811, allocations: 21.05 MB / 0.5431 GB, free: 31.5 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.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.5445 GB, free: 30.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.235e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect): time 0.001119/0.001141, allocations: 0.6987 MB / 0.5451 GB, free: 29.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.512e-05/0.001167, allocations: 11.92 kB / 0.5452 GB, free: 29.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.001183, allocations: 4 kB / 0.5452 GB, free: 29.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.138e-06/0.001188, allocations: 0 / 0.5452 GB, free: 29.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.268e-06/0.001197, allocations: 3.938 kB / 0.5452 GB, free: 29.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.511e-05/0.001222, allocations: 4 kB / 0.5452 GB, free: 29.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.613e-05/0.001268, allocations: 11.98 kB / 0.5452 GB, free: 29.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.001309, allocations: 4 kB / 0.5452 GB, free: 29.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.054e-05/0.001359, allocations: 15.92 kB / 0.5452 GB, free: 29.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.001414, allocations: 15.91 kB / 0.5452 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.001433, allocations: 0 / 0.5452 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.619e-06/0.001437, allocations: 0 / 0.5452 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.001449, allocations: 7.938 kB / 0.5452 GB, free: 29.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.001467, allocations: 4 kB / 0.5452 GB, free: 29.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.11e-05/0.001518, allocations: 8 kB / 0.5452 GB, free: 29.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.00153, allocations: 0 / 0.5452 GB, free: 29.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.001531, allocations: 0 / 0.5452 GB, free: 29.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.00154, allocations: 0 / 0.5452 GB, free: 29.36 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.0002465/0.001786, allocations: 239 kB / 0.5455 GB, free: 29.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.001815, allocations: 11.89 kB / 0.5455 GB, free: 29.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.164e-05/0.001837, allocations: 4.938 kB / 0.5455 GB, free: 29.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.524e-05/0.001892, allocations: 117.7 kB / 0.5456 GB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.001904, allocations: 384 / 0.5456 GB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.001911, allocations: 4.375 kB / 0.5456 GB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.333e-05/0.001975, allocations: 38.25 kB / 0.5456 GB, free: 28.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.00198, allocations: 192 / 0.5456 GB, free: 28.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.001987, allocations: 384 / 0.5456 GB, free: 28.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.001991, allocations: 4.375 kB / 0.5456 GB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.00201, allocations: 15.86 kB / 0.5457 GB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.972e-05/0.002089, allocations: 61.03 kB / 0.5457 GB, free: 28.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.002228, allocations: 38.61 kB / 0.5457 GB, free: 28.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.002244, allocations: 12.86 kB / 0.5458 GB, free: 28.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.002252, allocations: 4 kB / 0.5458 GB, free: 28.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.002267, allocations: 34.56 kB / 0.5458 GB, free: 28.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.002267, allocations: 0 / 0.5458 GB, free: 28.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 8.394e-05/0.002351, allocations: 45.72 kB / 0.5458 GB, free: 28.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.002374, allocations: 55.41 kB / 0.5459 GB, free: 28.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.279e-05/0.002406, allocations: 106.7 kB / 0.546 GB, free: 28.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-06/0.002411, allocations: 25.7 kB / 0.546 GB, free: 28.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.385e-06/0.00242, allocations: 80.14 kB / 0.5461 GB, free: 28.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.002446, allocations: 19.84 kB / 0.5461 GB, free: 28.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.00247, allocations: 21.69 kB / 0.5461 GB, free: 28.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.195e-05/0.002502, allocations: 314.8 kB / 0.5464 GB, free: 27.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-06/0.002509, allocations: 8 kB / 0.5464 GB, free: 27.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-06/0.002517, allocations: 4 kB / 0.5464 GB, free: 27.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/0.002541, allocations: 19.84 kB / 0.5465 GB, free: 27.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.002543, allocations: 3.938 kB / 0.5465 GB, free: 27.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.423e-05/0.002577, allocations: 37.69 kB / 0.5465 GB, free: 27.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.002589, allocations: 8 kB / 0.5465 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.002593, allocations: 0 / 0.5465 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.744e-06/0.002601, allocations: 0 / 0.5465 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.908e-05/0.00264, allocations: 8 kB / 0.5465 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.002643, allocations: 4 kB / 0.5465 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.103e-05/0.002654, allocations: 0 / 0.5465 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-06/0.002656, allocations: 4 kB / 0.5465 GB, free: 27.88 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.427e-05/0.002691, allocations: 109.8 kB / 0.5466 GB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-06/0.002696, allocations: 7.984 kB / 0.5466 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.681e-05/0.002713, allocations: 11.62 kB / 0.5467 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.002714, allocations: 0 / 0.5467 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.002716, allocations: 4 kB / 0.5467 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.002719, allocations: 0 / 0.5467 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.333e-05/0.002772, allocations: 73.77 kB / 0.5467 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.002773, allocations: 0 / 0.5467 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.002788, allocations: 11.98 kB / 0.5467 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-06/0.002793, allocations: 4 kB / 0.5467 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.002795, allocations: 4.328 kB / 0.5467 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-06/0.002798, allocations: 0 / 0.5467 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-07/0.002799, allocations: 0 / 0.5467 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.002799, allocations: 0 / 0.5467 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.145e-05/0.002851, allocations: 73.05 kB / 0.5468 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-06/0.002859, allocations: 0 / 0.5468 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-06/0.002866, allocations: 3.312 kB / 0.5468 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.002877, allocations: 7.984 kB / 0.5468 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-06/0.002878, allocations: 0 / 0.5468 GB, free: 27.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.346e-06/0.002886, allocations: 12.84 kB / 0.5468 GB, free: 27.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002886, allocations: 7.938 kB / 0.5468 GB, free: 27.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 9.432e-05/0.00298, allocations: 8 kB / 0.5469 GB, free: 27.51 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.422e-05/0.003034, allocations: 80.42 kB / 0.5469 GB, free: 27.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.676e-05/0.003091, allocations: 20.84 kB / 0.5469 GB, free: 27.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.003094, allocations: 0 / 0.5469 GB, free: 27.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.554e-06/0.003101, allocations: 8.859 kB / 0.547 GB, free: 27.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.797e-05/0.003159, allocations: 9.906 kB / 0.547 GB, free: 27.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001736/0.003333, allocations: 136.3 kB / 0.5471 GB, free: 27.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.998e-05/0.003353, allocations: 59.36 kB / 0.5472 GB, free: 27.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.267e-05/0.003365, allocations: 3.984 kB / 0.5472 GB, free: 27.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.00339, allocations: 51.38 kB / 0.5472 GB, free: 27.08 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.003391, allocations: 0 / 0.5472 GB, free: 27.08 MB / 410.7 MB Notification: Performance of Templates: time 0.001716/0.005107, allocations: 450.9 kB / 0.5476 GB, free: 26.69 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3313190704211593]