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.0007951/0.0007951, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009688/0.001764, allocations: 455.9 kB / 10.35 MB, free: 348 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.0007043/0.0007043, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009175/0.001622, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.045/1.045, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1183/1.164, allocations: 53.68 MB / 243.3 MB, free: 15.57 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.875/0.875, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04575/0.9208, allocations: 21.04 MB / 0.5432 GB, free: 31.74 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 1.854e-06/1.854e-06, allocations: 0 / 0.5446 GB, free: 30.37 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.423e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30): time 0.00197/0.002004, allocations: 0.6989 MB / 0.5453 GB, free: 29.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 4.444e-05/0.002049, allocations: 11.91 kB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.002069, allocations: 4 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.043e-06/0.002076, allocations: 3.938 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.197e-05/0.002088, allocations: 0 / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.126e-05/0.00212, allocations: 7.938 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.875e-05/0.002178, allocations: 11.98 kB / 0.5453 GB, free: 29.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.002226, allocations: 4 kB / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.002286, allocations: 19.92 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.002348, allocations: 3.984 kB / 0.5453 GB, free: 29.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.002368, allocations: 4 kB / 0.5454 GB, free: 29.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.553e-06/0.002374, allocations: 0 / 0.5454 GB, free: 29.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.002387, allocations: 0 / 0.5454 GB, free: 29.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.002409, allocations: 7.938 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.554e-05/0.002475, allocations: 11.92 kB / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.498e-05/0.00249, allocations: 0 / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.002491, allocations: 0 / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.002507, allocations: 3.938 kB / 0.5454 GB, free: 29.57 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.0003468/0.002854, allocations: 239.1 kB / 0.5456 GB, free: 29.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.002898, allocations: 19.84 kB / 0.5456 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.002923, allocations: 0.9375 kB / 0.5456 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.038e-05/0.003003, allocations: 109.8 kB / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.003015, allocations: 384 / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.003023, allocations: 4.375 kB / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.996e-05/0.003103, allocations: 38.25 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.003115, allocations: 4.125 kB / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.003123, allocations: 384 / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.00313, allocations: 384 / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.239e-05/0.003162, allocations: 15.92 kB / 0.5458 GB, free: 29.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.965e-05/0.003262, allocations: 68.97 kB / 0.5459 GB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.003444, allocations: 42.61 kB / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.003471, allocations: 8.859 kB / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.003478, allocations: 0 / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.003497, allocations: 34.56 kB / 0.5459 GB, free: 28.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.003498, allocations: 0 / 0.5459 GB, free: 28.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001163/0.003614, allocations: 45.72 kB / 0.546 GB, free: 28.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.003648, allocations: 51.41 kB / 0.546 GB, free: 28.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.967e-05/0.003708, allocations: 114.7 kB / 0.5461 GB, free: 28.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.003715, allocations: 29.7 kB / 0.5462 GB, free: 28.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.364e-05/0.003729, allocations: 80.14 kB / 0.5462 GB, free: 28.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.003764, allocations: 11.84 kB / 0.5463 GB, free: 28.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.003808, allocations: 21.69 kB / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.684e-05/0.003865, allocations: 318.8 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.003876, allocations: 0 / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.241e-05/0.003889, allocations: 4 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.489e-05/0.003924, allocations: 21.11 kB / 0.5466 GB, free: 28.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.003927, allocations: 3.312 kB / 0.5466 GB, free: 28.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.576e-05/0.003993, allocations: 49.62 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.004007, allocations: 8 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.004013, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.004022, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.004086, allocations: 8 kB / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.00409, allocations: 0 / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.004106, allocations: 0 / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.004111, allocations: 4 kB / 0.5467 GB, free: 28.09 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 5.469e-05/0.004166, allocations: 109.8 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.004176, allocations: 7.984 kB / 0.5468 GB, free: 27.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.004204, allocations: 7.688 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.004206, allocations: 4 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.004208, allocations: 0 / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.004212, allocations: 0 / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.681e-05/0.004279, allocations: 77.77 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.004281, allocations: 0 / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.004322, allocations: 7.984 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.00433, allocations: 7.938 kB / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.004332, allocations: 0 / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.004338, allocations: 4 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.00434, allocations: 0 / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.004341, allocations: 0 / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.793e-05/0.004419, allocations: 73.06 kB / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-06/0.004429, allocations: 0 / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.42e-05/0.004443, allocations: 0 / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.004455, allocations: 3.984 kB / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.004458, allocations: 4 kB / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.621e-05/0.004474, allocations: 7.984 kB / 0.547 GB, free: 27.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.004474, allocations: 4 kB / 0.547 GB, free: 27.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001394/0.004613, allocations: 8 kB / 0.547 GB, free: 27.73 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 9.711e-05/0.00471, allocations: 76.42 kB / 0.5471 GB, free: 27.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.883e-05/0.004779, allocations: 28.77 kB / 0.5471 GB, free: 27.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/0.00479, allocations: 4 kB / 0.5471 GB, free: 27.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.004813, allocations: 12.86 kB / 0.5471 GB, free: 27.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.798e-05/0.004891, allocations: 13.91 kB / 0.5471 GB, free: 27.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.005123, allocations: 136.3 kB / 0.5472 GB, free: 27.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.474e-05/0.005158, allocations: 55.36 kB / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.931e-05/0.005177, allocations: 3.984 kB / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.005208, allocations: 51.38 kB / 0.5473 GB, free: 27.29 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.005209, allocations: 0 / 0.5473 GB, free: 27.29 MB / 410.7 MB Notification: Performance of Templates: time 0.002599/0.007808, allocations: 459.5 kB / 0.5478 GB, free: 26.86 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.492061818949878]