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.0009102/0.0009102, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009974/0.0009974, allocations: 169.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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 0.928/0.928, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.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.7259/0.7259, allocations: 291.1 MB / 0.5382 GB, free: 51.91 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.603e-06/1.603e-06, allocations: 0 / 0.6973 GB, free: 10.44 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.421e-05, allocations: 13.17 kB / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30): time 0.001718/0.001753, allocations: 0.626 MB / 0.6979 GB, free: 9.801 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 7.015e-05/0.001823, allocations: 3.938 kB / 0.6979 GB, free: 9.797 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.001859, allocations: 0 / 0.6979 GB, free: 9.797 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.001878, allocations: 3.938 kB / 0.6979 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.695e-05/0.001905, allocations: 0 / 0.6979 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.01e-05/0.001976, allocations: 15.98 kB / 0.6979 GB, free: 9.777 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.002046, allocations: 7.984 kB / 0.698 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.598e-05/0.002112, allocations: 4 kB / 0.698 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.891e-05/0.002161, allocations: 15.92 kB / 0.698 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.002231, allocations: 0 / 0.698 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.002263, allocations: 7.984 kB / 0.698 GB, free: 9.742 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.871e-06/0.002269, allocations: 0 / 0.698 GB, free: 9.742 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.002289, allocations: 7.922 kB / 0.698 GB, free: 9.734 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.002317, allocations: 11.94 kB / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 7.257e-05/0.002389, allocations: 7.922 kB / 0.698 GB, free: 9.715 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.002394, allocations: 8 kB / 0.698 GB, free: 9.707 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.212e-06/0.002395, allocations: 0 / 0.698 GB, free: 9.707 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.002401, allocations: 0 / 0.698 GB, free: 9.707 MB / 410.8 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.0003896/0.002791, allocations: 250.4 kB / 0.6983 GB, free: 9.43 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.002841, allocations: 12.03 kB / 0.6983 GB, free: 9.418 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.002879, allocations: 4.922 kB / 0.6983 GB, free: 9.414 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.255e-05/0.002962, allocations: 109.8 kB / 0.6984 GB, free: 9.281 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.002977, allocations: 384 / 0.6984 GB, free: 9.281 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.00299, allocations: 8.375 kB / 0.6984 GB, free: 9.273 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.003104, allocations: 34.25 kB / 0.6984 GB, free: 9.234 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.003113, allocations: 192 / 0.6984 GB, free: 9.234 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.003125, allocations: 4.375 kB / 0.6984 GB, free: 9.23 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.00313, allocations: 384 / 0.6984 GB, free: 9.23 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.858e-05/0.003188, allocations: 19.88 kB / 0.6984 GB, free: 9.211 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.003333, allocations: 109.4 kB / 0.6985 GB, free: 9.074 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.003559, allocations: 38.64 kB / 0.6986 GB, free: 9.027 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/0.003599, allocations: 16.86 kB / 0.6986 GB, free: 9.008 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.003612, allocations: 0 / 0.6986 GB, free: 9.008 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.003631, allocations: 34.55 kB / 0.6986 GB, free: 8.965 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.003632, allocations: 0 / 0.6986 GB, free: 8.965 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001739/0.003806, allocations: 69.59 kB / 0.6987 GB, free: 8.891 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.00384, allocations: 55.41 kB / 0.6988 GB, free: 8.824 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.688e-05/0.003906, allocations: 113.8 kB / 0.6989 GB, free: 8.703 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.003914, allocations: 25.7 kB / 0.6989 GB, free: 8.672 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.956e-05/0.003934, allocations: 80.14 kB / 0.699 GB, free: 8.59 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.003968, allocations: 15.84 kB / 0.699 GB, free: 8.574 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.003997, allocations: 13.72 kB / 0.699 GB, free: 8.555 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.004053, allocations: 322.8 kB / 0.6993 GB, free: 8.23 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.004075, allocations: 4 kB / 0.6993 GB, free: 8.227 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.57e-05/0.004091, allocations: 4 kB / 0.6993 GB, free: 8.223 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.765e-05/0.004138, allocations: 20.86 kB / 0.6993 GB, free: 8.199 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.004141, allocations: 4 kB / 0.6993 GB, free: 8.195 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.312e-05/0.004225, allocations: 53.62 kB / 0.6994 GB, free: 8.137 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.004242, allocations: 4 kB / 0.6994 GB, free: 8.133 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.004248, allocations: 0 / 0.6994 GB, free: 8.133 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.004265, allocations: 0 / 0.6994 GB, free: 8.133 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/0.00433, allocations: 11.98 kB / 0.6994 GB, free: 8.121 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.004338, allocations: 0 / 0.6994 GB, free: 8.121 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.004357, allocations: 7.891 kB / 0.6994 GB, free: 8.113 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.004363, allocations: 0 / 0.6994 GB, free: 8.113 MB / 410.8 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.658e-05/0.00442, allocations: 113.8 kB / 0.6995 GB, free: 7.992 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-06/0.004427, allocations: 4 kB / 0.6995 GB, free: 7.988 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.169e-05/0.004449, allocations: 3.688 kB / 0.6995 GB, free: 7.984 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.004451, allocations: 4 kB / 0.6995 GB, free: 7.98 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.004457, allocations: 0 / 0.6995 GB, free: 7.98 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.004461, allocations: 3.938 kB / 0.6995 GB, free: 7.977 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.865e-05/0.004529, allocations: 109.3 kB / 0.6996 GB, free: 7.84 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.00453, allocations: 0 / 0.6996 GB, free: 7.84 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.349e-05/0.004564, allocations: 11.94 kB / 0.6996 GB, free: 7.828 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.004566, allocations: 0 / 0.6996 GB, free: 7.828 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.004574, allocations: 4 kB / 0.6996 GB, free: 7.824 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.004576, allocations: 0 / 0.6996 GB, free: 7.824 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.004577, allocations: 4 kB / 0.6996 GB, free: 7.82 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.763e-05/0.004664, allocations: 77.02 kB / 0.6997 GB, free: 7.727 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.004671, allocations: 4 kB / 0.6997 GB, free: 7.723 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.004684, allocations: 7.922 kB / 0.6997 GB, free: 7.715 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.47e-05/0.004698, allocations: 0 / 0.6997 GB, free: 7.715 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.004717, allocations: 4 kB / 0.6997 GB, free: 7.711 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.004721, allocations: 4 kB / 0.6997 GB, free: 7.707 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.084e-05/0.004742, allocations: 83.53 kB / 0.6998 GB, free: 7.625 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.004742, allocations: 0 / 0.6998 GB, free: 7.625 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001908/0.004933, allocations: 7.938 kB / 0.6998 GB, free: 7.617 MB / 410.8 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 8.777e-05/0.005021, allocations: 115.5 kB / 0.6999 GB, free: 7.496 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.709e-05/0.005118, allocations: 12 kB / 0.7 GB, free: 7.484 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.00512, allocations: 4 kB / 0.7 GB, free: 7.48 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.748e-05/0.005137, allocations: 16.06 kB / 0.7 GB, free: 7.465 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.005305, allocations: 7 kB / 0.7 GB, free: 7.461 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.005596, allocations: 138.5 kB / 0.7001 GB, free: 7.293 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.617e-05/0.005642, allocations: 67.28 kB / 0.7002 GB, free: 7.207 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.005675, allocations: 12.5 kB / 0.7002 GB, free: 7.195 MB / 410.8 MB Notification: Performance of SimCode: time 1.032e-06/0.005676, allocations: 4 kB / 0.7002 GB, free: 7.191 MB / 410.8 MB Notification: Performance of Templates: time 0.001882/0.007558, allocations: 0.5129 MB / 0.7007 GB, free: 6.684 MB / 410.8 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 > 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: 5.1180399702861905]