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.0008838/0.0008838, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.002075, 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.0009273/0.0009273, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001216/0.002143, 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 1.073/1.073, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09345/1.167, allocations: 53.67 MB / 243.2 MB, free: 15.58 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.8737/0.8737, allocations: 291.1 MB / 0.5225 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03193/0.9056, allocations: 21.04 MB / 0.5431 GB, free: 31.8 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.343e-06/1.343e-06, allocations: 0 / 0.5444 GB, free: 30.47 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.012e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.46 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect): time 0.001008/0.001028, allocations: 0.6904 MB / 0.5451 GB, free: 29.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.653e-05/0.001054, allocations: 15.92 kB / 0.5451 GB, free: 29.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.797e-05/0.001072, allocations: 0 / 0.5451 GB, free: 29.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.627e-06/0.001076, allocations: 0 / 0.5451 GB, free: 29.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.448e-06/0.001085, allocations: 3.938 kB / 0.5451 GB, free: 29.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.272e-05/0.001108, allocations: 0 / 0.5451 GB, free: 29.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.797e-05/0.001156, allocations: 27.91 kB / 0.5451 GB, free: 29.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.001194, allocations: 0 / 0.5451 GB, free: 29.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.934e-05/0.001243, allocations: 11.98 kB / 0.5451 GB, free: 29.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.001293, allocations: 3.984 kB / 0.5451 GB, free: 29.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.001311, allocations: 4 kB / 0.5451 GB, free: 29.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-06/0.001316, allocations: 0 / 0.5451 GB, free: 29.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.001327, allocations: 0 / 0.5451 GB, free: 29.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.001346, allocations: 7.938 kB / 0.5451 GB, free: 29.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.295e-05/0.001399, allocations: 7.938 kB / 0.5451 GB, free: 29.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452e-05/0.001414, allocations: 4 kB / 0.5451 GB, free: 29.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.001414, allocations: 0 / 0.5451 GB, free: 29.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.001424, allocations: 4 kB / 0.5451 GB, free: 29.68 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.0002792/0.001703, allocations: 243 kB / 0.5454 GB, free: 29.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.001731, allocations: 11.89 kB / 0.5454 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.156e-05/0.001753, allocations: 4.922 kB / 0.5454 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.439e-05/0.001807, allocations: 109.8 kB / 0.5455 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.00182, allocations: 3.75 kB / 0.5455 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.001826, allocations: 4.375 kB / 0.5455 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.303e-05/0.001889, allocations: 38.25 kB / 0.5455 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.001895, allocations: 192 / 0.5455 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.001901, allocations: 384 / 0.5455 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.001905, allocations: 4.375 kB / 0.5455 GB, free: 29.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.001923, allocations: 11.88 kB / 0.5456 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.255e-05/0.001996, allocations: 65.03 kB / 0.5456 GB, free: 29.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.002137, allocations: 46.59 kB / 0.5457 GB, free: 29.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.563e-05/0.002153, allocations: 8.859 kB / 0.5457 GB, free: 29.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.002159, allocations: 3.938 kB / 0.5457 GB, free: 29.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.002173, allocations: 34.56 kB / 0.5457 GB, free: 29.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.002174, allocations: 0 / 0.5457 GB, free: 29.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 8.622e-05/0.00226, allocations: 45.72 kB / 0.5458 GB, free: 28.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.002282, allocations: 55.41 kB / 0.5458 GB, free: 28.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.59e-05/0.002318, allocations: 106.7 kB / 0.5459 GB, free: 28.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.079e-06/0.002323, allocations: 29.7 kB / 0.5459 GB, free: 28.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-06/0.002331, allocations: 84.12 kB / 0.546 GB, free: 28.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.002355, allocations: 15.84 kB / 0.546 GB, free: 28.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.002378, allocations: 13.7 kB / 0.546 GB, free: 28.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.206e-05/0.00241, allocations: 322.8 kB / 0.5464 GB, free: 28.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-06/0.002417, allocations: 4 kB / 0.5464 GB, free: 28.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-06/0.002425, allocations: 0 / 0.5464 GB, free: 28.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.32e-05/0.002448, allocations: 20.84 kB / 0.5464 GB, free: 28.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.00245, allocations: 0 / 0.5464 GB, free: 28.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.845e-05/0.002489, allocations: 49.95 kB / 0.5464 GB, free: 28.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.0025, allocations: 4 kB / 0.5464 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.002504, allocations: 0 / 0.5464 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.002513, allocations: 4 kB / 0.5464 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.828e-05/0.002562, allocations: 4 kB / 0.5464 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.002565, allocations: 0 / 0.5464 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.138e-05/0.002576, allocations: 0 / 0.5464 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.002581, allocations: 7.984 kB / 0.5464 GB, free: 28.2 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.496e-05/0.002616, allocations: 109.8 kB / 0.5465 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-06/0.002622, allocations: 7.984 kB / 0.5466 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.002643, allocations: 11.69 kB / 0.5466 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.002645, allocations: 0 / 0.5466 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.002646, allocations: 0 / 0.5466 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.00265, allocations: 0 / 0.5466 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.874e-05/0.002698, allocations: 71.47 kB / 0.5466 GB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.002699, allocations: 0 / 0.5466 GB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.002718, allocations: 19.92 kB / 0.5467 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-06/0.002724, allocations: 3.984 kB / 0.5467 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.002725, allocations: 0 / 0.5467 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-06/0.002729, allocations: 0 / 0.5467 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.00273, allocations: 0 / 0.5467 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.002731, allocations: 11.94 kB / 0.5467 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.194e-05/0.002783, allocations: 65.06 kB / 0.5467 GB, free: 27.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-06/0.00279, allocations: 0 / 0.5467 GB, free: 27.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-06/0.002797, allocations: 0 / 0.5467 GB, free: 27.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.002809, allocations: 7.359 kB / 0.5467 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.002811, allocations: 4 kB / 0.5467 GB, free: 27.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.558e-06/0.002821, allocations: 12.86 kB / 0.5468 GB, free: 27.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.002821, allocations: 0 / 0.5468 GB, free: 27.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.794e-05/0.002909, allocations: 4 kB / 0.5468 GB, free: 27.84 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.885e-05/0.002968, allocations: 84.36 kB / 0.5468 GB, free: 27.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.848e-05/0.003026, allocations: 20.84 kB / 0.5469 GB, free: 27.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.003028, allocations: 0 / 0.5469 GB, free: 27.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.516e-06/0.003037, allocations: 12.86 kB / 0.5469 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.349e-05/0.0031, allocations: 13.91 kB / 0.5469 GB, free: 27.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001902/0.003291, allocations: 154.1 kB / 0.547 GB, free: 27.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.821e-05/0.003319, allocations: 67.28 kB / 0.5471 GB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.003349, allocations: 51.38 kB / 0.5471 GB, free: 27.38 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.00335, allocations: 0 / 0.5471 GB, free: 27.38 MB / 410.7 MB Notification: Performance of Templates: time 0.001123/0.004473, allocations: 0.5236 MB / 0.5477 GB, free: 26.87 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 > 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: 4.081022087484598]