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.000677/0.000677, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00099/0.001667, allocations: 440 kB / 10.41 MB, free: 284 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.0006876/0.0006876, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009214/0.001609, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.018/1.018, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09936/1.117, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7883/0.7883, allocations: 291.2 MB / 0.5228 GB, free: 52.45 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03235/0.8207, allocations: 21.04 MB / 0.5433 GB, free: 31.46 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.482e-06/1.482e-06, allocations: 0 / 0.5447 GB, free: 30.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.466e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect): time 0.001503/0.001528, allocations: 0.7074 MB / 0.5454 GB, free: 29.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.02e-05/0.001558, allocations: 11.94 kB / 0.5454 GB, free: 29.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.738e-05/0.001576, allocations: 0 / 0.5454 GB, free: 29.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.763e-06/0.001582, allocations: 3.938 kB / 0.5454 GB, free: 29.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.105e-05/0.001593, allocations: 0 / 0.5454 GB, free: 29.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.578e-05/0.001619, allocations: 3.984 kB / 0.5454 GB, free: 29.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.338e-05/0.001673, allocations: 15.94 kB / 0.5454 GB, free: 29.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.001711, allocations: 3.984 kB / 0.5454 GB, free: 29.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.001757, allocations: 12 kB / 0.5454 GB, free: 29.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.144e-05/0.001808, allocations: 11.97 kB / 0.5454 GB, free: 29.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.001827, allocations: 0 / 0.5454 GB, free: 29.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-06/0.001832, allocations: 7.938 kB / 0.5454 GB, free: 29.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.001847, allocations: 4 kB / 0.5454 GB, free: 29.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.001866, allocations: 0 / 0.5454 GB, free: 29.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.797e-05/0.001923, allocations: 19.86 kB / 0.5455 GB, free: 29.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.001934, allocations: 0 / 0.5455 GB, free: 29.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.001935, allocations: 0 / 0.5455 GB, free: 29.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.001943, allocations: 0 / 0.5455 GB, free: 29.27 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.0002329/0.002176, allocations: 231.1 kB / 0.5457 GB, free: 29.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.002205, allocations: 11.89 kB / 0.5457 GB, free: 29.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/0.002227, allocations: 8.875 kB / 0.5457 GB, free: 29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.805e-05/0.002285, allocations: 113.7 kB / 0.5458 GB, free: 28.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.002293, allocations: 8.375 kB / 0.5458 GB, free: 28.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.002302, allocations: 384 / 0.5458 GB, free: 28.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.954e-05/0.002362, allocations: 34.25 kB / 0.5458 GB, free: 28.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.002369, allocations: 192 / 0.5458 GB, free: 28.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.002375, allocations: 4.375 kB / 0.5459 GB, free: 28.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.002382, allocations: 7.812 kB / 0.5459 GB, free: 28.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.696e-05/0.002399, allocations: 7.938 kB / 0.5459 GB, free: 28.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.076e-05/0.00248, allocations: 57.05 kB / 0.5459 GB, free: 28.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.002602, allocations: 42.55 kB / 0.546 GB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.002621, allocations: 16.94 kB / 0.546 GB, free: 28.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.002628, allocations: 4 kB / 0.546 GB, free: 28.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.002645, allocations: 34.56 kB / 0.546 GB, free: 28.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.002645, allocations: 0 / 0.546 GB, free: 28.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 8.836e-05/0.002734, allocations: 49.61 kB / 0.5461 GB, free: 28.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.002754, allocations: 51.41 kB / 0.5461 GB, free: 28.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.604e-05/0.00279, allocations: 106.7 kB / 0.5462 GB, free: 28.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.728e-06/0.002794, allocations: 25.7 kB / 0.5462 GB, free: 28.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.696e-06/0.002803, allocations: 84.12 kB / 0.5463 GB, free: 28.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.002828, allocations: 19.84 kB / 0.5463 GB, free: 28.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.002853, allocations: 17.7 kB / 0.5464 GB, free: 28.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.883e-05/0.002882, allocations: 318.8 kB / 0.5467 GB, free: 27.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.816e-06/0.00289, allocations: 7.984 kB / 0.5467 GB, free: 27.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-06/0.002899, allocations: 4 kB / 0.5467 GB, free: 27.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.046e-05/0.002919, allocations: 8.859 kB / 0.5467 GB, free: 27.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.002921, allocations: 4 kB / 0.5467 GB, free: 27.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.194e-05/0.002963, allocations: 45.56 kB / 0.5467 GB, free: 27.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/0.002971, allocations: 8 kB / 0.5467 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-06/0.002974, allocations: 0 / 0.5467 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.002982, allocations: 0 / 0.5467 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.054e-05/0.003012, allocations: 7.984 kB / 0.5467 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.003015, allocations: 4 kB / 0.5467 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00303/0.006045, allocations: 8 kB / 0.5468 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.006049, allocations: 0 / 0.5468 GB, free: 27.79 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 4.462e-05/0.006093, allocations: 109.8 kB / 0.5469 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-06/0.006102, allocations: 4 kB / 0.5469 GB, free: 27.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.857e-05/0.00612, allocations: 7.688 kB / 0.5469 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.006122, allocations: 0 / 0.5469 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.006123, allocations: 0 / 0.5469 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006126, allocations: 7.984 kB / 0.5469 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.532e-05/0.006181, allocations: 69.83 kB / 0.5469 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006182, allocations: 4 kB / 0.5469 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/0.00621, allocations: 11.12 kB / 0.547 GB, free: 27.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.006216, allocations: 0 / 0.547 GB, free: 27.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.006217, allocations: 0 / 0.547 GB, free: 27.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-06/0.006221, allocations: 4 kB / 0.547 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.006222, allocations: 3.938 kB / 0.547 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006223, allocations: 0 / 0.547 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.512e-05/0.006278, allocations: 73.05 kB / 0.547 GB, free: 27.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.844e-06/0.006286, allocations: 0 / 0.547 GB, free: 27.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-06/0.006295, allocations: 0 / 0.547 GB, free: 27.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.006306, allocations: 4 kB / 0.547 GB, free: 27.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.006307, allocations: 4 kB / 0.547 GB, free: 27.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.229e-05/0.006319, allocations: 16.83 kB / 0.5471 GB, free: 27.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00632, allocations: 0 / 0.5471 GB, free: 27.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001277/0.006447, allocations: 4 kB / 0.5471 GB, free: 27.43 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 7.831e-05/0.006526, allocations: 84.42 kB / 0.5471 GB, free: 27.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.599e-05/0.006572, allocations: 25.11 kB / 0.5472 GB, free: 27.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.006577, allocations: 3.984 kB / 0.5472 GB, free: 27.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-05/0.00659, allocations: 13 kB / 0.5472 GB, free: 27.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.227e-05/0.006642, allocations: 9.906 kB / 0.5472 GB, free: 27.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001447/0.006787, allocations: 140.5 kB / 0.5473 GB, free: 27.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.028e-05/0.006807, allocations: 55.36 kB / 0.5474 GB, free: 27.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.207e-05/0.006819, allocations: 0 / 0.5474 GB, free: 27.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.006845, allocations: 51.38 kB / 0.5474 GB, free: 26.99 MB / 410.7 MB Notification: Performance of SimCode: time 6.72e-07/0.006845, allocations: 0 / 0.5474 GB, free: 26.99 MB / 410.7 MB Notification: Performance of Templates: time 0.00172/0.008565, allocations: 365.6 kB / 0.5478 GB, free: 26.68 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.171786205843091]