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.0008349/0.0008349, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009558/0.001791, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007105/0.0007105, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009258/0.001636, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.034/1.034, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09787/1.132, 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.7658/0.7658, allocations: 291.2 MB / 0.5226 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02931/0.7951, 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.323e-06/1.323e-06, allocations: 0 / 0.5445 GB, free: 30.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.626e-06/9.949e-06, allocations: 6.25 kB / 0.5445 GB, free: 30.13 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_HoyoVadillo1995_PD_eeg_effect): time 0.0008741/0.000884, allocations: 0.693 MB / 0.5452 GB, free: 29.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.388e-05/0.0009079, allocations: 11.92 kB / 0.5452 GB, free: 29.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.0009228, allocations: 0 / 0.5452 GB, free: 29.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.198e-06/0.000927, allocations: 3.938 kB / 0.5452 GB, free: 29.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.877e-06/0.0009359, allocations: 3.938 kB / 0.5452 GB, free: 29.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.596e-05/0.0009618, allocations: 7.984 kB / 0.5452 GB, free: 29.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.53e-05/0.001007, allocations: 11.98 kB / 0.5452 GB, free: 29.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.001043, allocations: 4 kB / 0.5452 GB, free: 29.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.001089, allocations: 15.92 kB / 0.5452 GB, free: 29.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.001145, allocations: 4 kB / 0.5452 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.001162, allocations: 4 kB / 0.5452 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-06/0.001167, allocations: 0 / 0.5452 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.001179, allocations: 7.938 kB / 0.5452 GB, free: 29.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.001198, allocations: 0 / 0.5452 GB, free: 29.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.482e-05/0.001253, allocations: 19.91 kB / 0.5453 GB, free: 29.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/0.001265, allocations: 0 / 0.5453 GB, free: 29.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.001266, allocations: 0 / 0.5453 GB, free: 29.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.001278, allocations: 0 / 0.5453 GB, free: 29.35 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.0002663/0.001544, allocations: 235 kB / 0.5455 GB, free: 29.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.001573, allocations: 11.89 kB / 0.5455 GB, free: 29.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.966e-05/0.001593, allocations: 12.92 kB / 0.5455 GB, free: 29.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.604e-05/0.001649, allocations: 113.7 kB / 0.5456 GB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.001658, allocations: 384 / 0.5456 GB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-06/0.001665, allocations: 384 / 0.5456 GB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.004e-05/0.001725, allocations: 38.25 kB / 0.5457 GB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.001731, allocations: 192 / 0.5457 GB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.001737, allocations: 384 / 0.5457 GB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.00174, allocations: 4.375 kB / 0.5457 GB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.013e-05/0.00176, allocations: 11.92 kB / 0.5457 GB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.693e-05/0.001837, allocations: 64.97 kB / 0.5457 GB, free: 28.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.001966, allocations: 46.59 kB / 0.5458 GB, free: 28.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.001982, allocations: 12.86 kB / 0.5458 GB, free: 28.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.001989, allocations: 4 kB / 0.5458 GB, free: 28.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.002004, allocations: 30.56 kB / 0.5458 GB, free: 28.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.002005, allocations: 0 / 0.5458 GB, free: 28.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 9.01e-05/0.002095, allocations: 45.72 kB / 0.5459 GB, free: 28.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.002116, allocations: 51.41 kB / 0.5459 GB, free: 28.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.313e-05/0.002149, allocations: 110.7 kB / 0.546 GB, free: 28.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-06/0.002154, allocations: 25.7 kB / 0.5461 GB, free: 28.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.845e-06/0.002161, allocations: 80.14 kB / 0.5461 GB, free: 28.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.002189, allocations: 23.84 kB / 0.5461 GB, free: 28.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.002211, allocations: 17.7 kB / 0.5462 GB, free: 28.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.265e-05/0.002244, allocations: 318.8 kB / 0.5465 GB, free: 27.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-06/0.00225, allocations: 4 kB / 0.5465 GB, free: 27.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-06/0.002257, allocations: 7.438 kB / 0.5465 GB, free: 27.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.264e-05/0.00228, allocations: 16.84 kB / 0.5465 GB, free: 27.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.002282, allocations: 0 / 0.5465 GB, free: 27.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.046e-05/0.002312, allocations: 45.62 kB / 0.5465 GB, free: 27.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.002324, allocations: 8 kB / 0.5465 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.002328, allocations: 0 / 0.5465 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.002335, allocations: 0 / 0.5465 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.303e-05/0.002368, allocations: 8 kB / 0.5466 GB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.002371, allocations: 4 kB / 0.5466 GB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.054e-05/0.002382, allocations: 0 / 0.5466 GB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-06/0.002384, allocations: 0 / 0.5466 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.201e-05/0.002416, allocations: 109.8 kB / 0.5467 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-06/0.002421, allocations: 4 kB / 0.5467 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.002439, allocations: 15.61 kB / 0.5467 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.002441, allocations: 0 / 0.5467 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.002443, allocations: 4 kB / 0.5467 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.002446, allocations: 0 / 0.5467 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.9e-05/0.002485, allocations: 73.83 kB / 0.5468 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.002486, allocations: 0 / 0.5468 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-05/0.002498, allocations: 8 kB / 0.5468 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.002504, allocations: 4.312 kB / 0.5468 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.002505, allocations: 7.938 kB / 0.5468 GB, free: 27.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-06/0.002508, allocations: 0 / 0.5468 GB, free: 27.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.002509, allocations: 0 / 0.5468 GB, free: 27.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.00251, allocations: 0 / 0.5468 GB, free: 27.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.306e-05/0.002553, allocations: 73.05 kB / 0.5468 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-06/0.00256, allocations: 0 / 0.5468 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-06/0.002566, allocations: 0 / 0.5468 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/0.002576, allocations: 8 kB / 0.5469 GB, free: 27.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.002578, allocations: 3.312 kB / 0.5469 GB, free: 27.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.823e-06/0.002585, allocations: 12.84 kB / 0.5469 GB, free: 27.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002585, allocations: 0 / 0.5469 GB, free: 27.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.279e-05/0.002668, 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.229e-05/0.00272, allocations: 80.42 kB / 0.547 GB, free: 27.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.691e-05/0.002777, allocations: 28.77 kB / 0.547 GB, free: 27.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.002783, allocations: 0 / 0.547 GB, free: 27.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.003e-06/0.00279, 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 6.096e-05/0.002851, allocations: 13.91 kB / 0.547 GB, free: 27.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001815/0.003032, allocations: 136.4 kB / 0.5471 GB, free: 27.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.881e-05/0.003051, allocations: 51.36 kB / 0.5472 GB, free: 27.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.365e-05/0.003065, allocations: 4 kB / 0.5472 GB, free: 27.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.003091, allocations: 47.38 kB / 0.5472 GB, free: 27.08 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.003091, allocations: 3.938 kB / 0.5472 GB, free: 27.08 MB / 410.7 MB Notification: Performance of Templates: time 0.001603/0.004694, allocations: 459.6 kB / 0.5477 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.2647070102393627]