Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.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.0008175/0.0008175, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.00194, 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.0007311/0.0007311, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001501/0.002232, 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.042/1.042, allocations: 177.1 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09946/1.141, 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.7853/0.7853, allocations: 291.2 MB / 0.5226 GB, free: 52.91 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0326/0.8179, allocations: 21.04 MB / 0.5431 GB, free: 31.94 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_Lu1994_PD_tnw12_30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.803e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30): time 0.001318/0.001346, allocations: 0.6934 MB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.87e-05/0.001375, allocations: 15.94 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.865e-05/0.001393, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.569e-06/0.001398, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.728e-06/0.001408, allocations: 3.938 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.676e-05/0.001434, allocations: 3.984 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.91e-05/0.001483, allocations: 12 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.001523, allocations: 3.984 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.904e-05/0.001572, allocations: 11.94 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/0.001623, allocations: 15.91 kB / 0.5452 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.001643, allocations: 4 kB / 0.5452 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.75e-06/0.001649, allocations: 0 / 0.5452 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.001659, allocations: 11.94 kB / 0.5452 GB, free: 29.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.001677, allocations: 0 / 0.5452 GB, free: 29.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.42e-05/0.001731, allocations: 7.984 kB / 0.5452 GB, free: 29.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.356e-05/0.001745, allocations: 0 / 0.5452 GB, free: 29.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.3e-07/0.001745, allocations: 4 kB / 0.5452 GB, free: 29.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.001754, allocations: 0 / 0.5452 GB, free: 29.8 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.0002818/0.002036, allocations: 231 kB / 0.5454 GB, free: 29.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.002069, allocations: 15.84 kB / 0.5455 GB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.00209, allocations: 4.938 kB / 0.5455 GB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.575e-05/0.002145, allocations: 113.7 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.002156, allocations: 8.375 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/0.002163, allocations: 8.312 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.036e-05/0.002223, allocations: 34.25 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.002228, allocations: 192 / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.002234, allocations: 384 / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.002238, allocations: 384 / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.725e-05/0.002255, allocations: 15.88 kB / 0.5456 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.092e-05/0.002326, allocations: 61.05 kB / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.002447, allocations: 38.61 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.002465, allocations: 16.94 kB / 0.5458 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-06/0.00247, allocations: 0 / 0.5458 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.002483, allocations: 34.56 kB / 0.5458 GB, free: 29.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.002484, allocations: 0 / 0.5458 GB, free: 29.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 7.896e-05/0.002563, allocations: 45.62 kB / 0.5458 GB, free: 29.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.00259, allocations: 51.41 kB / 0.5459 GB, free: 29.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.025e-05/0.002621, allocations: 110.7 kB / 0.546 GB, free: 28.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-06/0.002626, allocations: 29.69 kB / 0.546 GB, free: 28.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.854e-06/0.002634, allocations: 80.14 kB / 0.5461 GB, free: 28.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.002658, allocations: 15.84 kB / 0.5461 GB, free: 28.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/0.002677, allocations: 21.7 kB / 0.5461 GB, free: 28.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.035e-05/0.002708, allocations: 318.8 kB / 0.5464 GB, free: 28.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.341e-06/0.002714, allocations: 7.984 kB / 0.5464 GB, free: 28.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/0.002721, allocations: 0 / 0.5464 GB, free: 28.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.986e-05/0.002741, allocations: 12.86 kB / 0.5464 GB, free: 28.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.002742, allocations: 3.938 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.033e-05/0.002773, allocations: 46 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.002781, allocations: 4 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.002785, allocations: 4 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.657e-06/0.002794, allocations: 3.984 kB / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.939e-05/0.002823, allocations: 7.062 kB / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.002826, allocations: 0 / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-06/0.002835, allocations: 8 kB / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-06/0.002838, allocations: 0 / 0.5465 GB, free: 28.32 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.119e-05/0.002869, allocations: 109.8 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-06/0.002873, allocations: 8 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.597e-05/0.002889, allocations: 3.688 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.00289, allocations: 0 / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.002892, allocations: 3.938 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.002895, allocations: 3.984 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.892e-05/0.002934, allocations: 81.77 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.002935, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.002947, allocations: 12 kB / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-06/0.002951, allocations: 0 / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.002951, allocations: 0 / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.002955, allocations: 0 / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.002955, allocations: 4 kB / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.002957, allocations: 3.984 kB / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.79e-05/0.002995, allocations: 65.06 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-06/0.003001, allocations: 0 / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.941e-06/0.003007, allocations: 0 / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.003018, allocations: 8 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.92e-07/0.003019, allocations: 0 / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.015e-06/0.003027, allocations: 20.09 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003027, allocations: 3.938 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.305e-05/0.00311, allocations: 4 kB / 0.5468 GB, free: 27.95 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.329e-05/0.003163, allocations: 84.41 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.366e-05/0.003217, allocations: 12.86 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.003219, allocations: 0 / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.778e-06/0.003229, allocations: 16.84 kB / 0.5469 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.797e-05/0.003287, allocations: 13.84 kB / 0.547 GB, free: 27.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001708/0.003458, allocations: 136.3 kB / 0.5471 GB, free: 27.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.662e-05/0.003484, allocations: 63.34 kB / 0.5472 GB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.292e-05/0.003497, allocations: 0 / 0.5472 GB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.003522, allocations: 51.38 kB / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.003523, allocations: 0 / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of Templates: time 0.001546/0.005069, allocations: 461.2 kB / 0.5476 GB, free: 27.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3040960915386677]