Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_FloresPrez2023_PD_bis.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.0009101/0.0009101, 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.0008756/0.0008756, allocations: 165.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.9592/0.9592, allocations: 177.1 MB / 203.5 MB, free: 5.613 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.7657/0.7657, allocations: 291.2 MB / 0.5382 GB, free: 51.83 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_FloresPrez2023_PD_bis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_FloresPrez2023_PD_bis") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_FloresPrez2023_PD_bis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_FloresPrez2023_PD_bis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 0.6973 GB, free: 10.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.795e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_FloresPrez2023_PD_bis): time 0.001187/0.001215, allocations: 0.6286 MB / 0.698 GB, free: 9.738 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 5.984e-05/0.001275, allocations: 7.984 kB / 0.698 GB, free: 9.73 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.417e-05/0.001309, allocations: 0 / 0.698 GB, free: 9.73 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.001328, allocations: 3.938 kB / 0.698 GB, free: 9.727 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.792e-05/0.001365, allocations: 4 kB / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.427e-05/0.00144, allocations: 3.984 kB / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 7.777e-05/0.001517, allocations: 11.94 kB / 0.698 GB, free: 9.707 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.094e-05/0.001578, allocations: 7.984 kB / 0.698 GB, free: 9.699 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.268e-05/0.001621, allocations: 4 kB / 0.698 GB, free: 9.695 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.437e-05/0.001695, allocations: 15.98 kB / 0.698 GB, free: 9.68 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.001723, allocations: 0 / 0.698 GB, free: 9.68 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-06/0.001728, allocations: 0 / 0.698 GB, free: 9.68 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.001743, allocations: 0 / 0.698 GB, free: 9.68 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.001765, allocations: 15.86 kB / 0.698 GB, free: 9.664 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.021e-05/0.001825, allocations: 19.91 kB / 0.6981 GB, free: 9.645 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.001827, allocations: 0 / 0.6981 GB, free: 9.645 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.082e-06/0.001828, allocations: 0 / 0.6981 GB, free: 9.645 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.001833, allocations: 0 / 0.6981 GB, free: 9.645 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.0003011/0.002134, allocations: 254.4 kB / 0.6983 GB, free: 9.363 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.002174, allocations: 12.03 kB / 0.6983 GB, free: 9.352 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.002201, allocations: 0.9375 kB / 0.6983 GB, free: 9.352 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.286e-05/0.002264, allocations: 109.8 kB / 0.6984 GB, free: 9.219 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.002275, allocations: 4.375 kB / 0.6984 GB, free: 9.215 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.002285, allocations: 4.375 kB / 0.6984 GB, free: 9.211 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.846e-05/0.002373, allocations: 38.25 kB / 0.6985 GB, free: 9.168 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.002383, allocations: 192 / 0.6985 GB, free: 9.168 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.002393, allocations: 384 / 0.6985 GB, free: 9.168 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.002398, allocations: 384 / 0.6985 GB, free: 9.168 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.002445, allocations: 19.86 kB / 0.6985 GB, free: 9.148 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.002549, allocations: 109.3 kB / 0.6986 GB, free: 9.012 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.00271, allocations: 46.64 kB / 0.6986 GB, free: 8.957 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.002737, allocations: 24.92 kB / 0.6987 GB, free: 8.93 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.002746, allocations: 0 / 0.6987 GB, free: 8.93 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.115e-05/0.002757, allocations: 30.56 kB / 0.6987 GB, free: 8.891 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 5.21e-07/0.002758, allocations: 4 kB / 0.6987 GB, free: 8.887 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001331/0.002891, allocations: 53.62 kB / 0.6987 GB, free: 8.828 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.002915, allocations: 51.41 kB / 0.6988 GB, free: 8.766 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.501e-05/0.00296, allocations: 105.8 kB / 0.6989 GB, free: 8.652 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.002966, allocations: 25.7 kB / 0.6989 GB, free: 8.621 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.794e-05/0.002983, allocations: 88.12 kB / 0.699 GB, free: 8.531 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.003012, allocations: 19.84 kB / 0.699 GB, free: 8.512 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/0.003032, allocations: 13.72 kB / 0.699 GB, free: 8.492 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.669e-05/0.003069, allocations: 314.8 kB / 0.6993 GB, free: 8.176 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.003081, allocations: 7.984 kB / 0.6993 GB, free: 8.168 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.071e-05/0.003092, allocations: 8 kB / 0.6993 GB, free: 8.16 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.926e-05/0.003121, allocations: 16.86 kB / 0.6994 GB, free: 8.141 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.003123, allocations: 0 / 0.6994 GB, free: 8.141 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.286e-05/0.003166, allocations: 53.91 kB / 0.6994 GB, free: 8.082 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.003178, allocations: 4 kB / 0.6994 GB, free: 8.078 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.003182, allocations: 0 / 0.6994 GB, free: 8.078 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.003196, allocations: 8.031 kB / 0.6994 GB, free: 8.07 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-05/0.00323, allocations: 8 kB / 0.6994 GB, free: 8.062 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.003235, allocations: 0 / 0.6994 GB, free: 8.062 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.003248, allocations: 11.89 kB / 0.6994 GB, free: 8.051 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.003252, allocations: 0 / 0.6994 GB, free: 8.051 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 4.011e-05/0.003292, allocations: 114.5 kB / 0.6995 GB, free: 7.93 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-06/0.003295, allocations: 0 / 0.6995 GB, free: 7.93 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.579e-05/0.003311, allocations: 7.688 kB / 0.6996 GB, free: 7.922 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.003312, allocations: 4 kB / 0.6996 GB, free: 7.918 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.003315, allocations: 0 / 0.6996 GB, free: 7.918 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.003318, allocations: 3.938 kB / 0.6996 GB, free: 7.914 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.876e-05/0.003367, allocations: 105.3 kB / 0.6997 GB, free: 7.781 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.003369, allocations: 3.984 kB / 0.6997 GB, free: 7.777 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.301e-05/0.003382, allocations: 11.94 kB / 0.6997 GB, free: 7.766 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.003382, allocations: 0 / 0.6997 GB, free: 7.766 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.003389, allocations: 256 / 0.6997 GB, free: 7.766 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.003389, allocations: 7.938 kB / 0.6997 GB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-07/0.00339, allocations: 0 / 0.6997 GB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.097e-05/0.003441, allocations: 81.02 kB / 0.6998 GB, free: 7.66 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.003446, allocations: 4 kB / 0.6998 GB, free: 7.656 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.003454, allocations: 0 / 0.6998 GB, free: 7.656 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-06/0.003461, allocations: 7.938 kB / 0.6998 GB, free: 7.648 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.003475, allocations: 3.984 kB / 0.6998 GB, free: 7.645 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-06/0.003477, allocations: 4 kB / 0.6998 GB, free: 7.641 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.411e-05/0.003491, allocations: 83.28 kB / 0.6999 GB, free: 7.559 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003491, allocations: 0 / 0.6999 GB, free: 7.559 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001094/0.0036, allocations: 7.938 kB / 0.6999 GB, free: 7.551 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 5.638e-05/0.003656, allocations: 103.2 kB / 0.7 GB, free: 7.441 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.334e-05/0.00373, allocations: 19.98 kB / 0.7 GB, free: 7.422 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.003731, allocations: 0 / 0.7 GB, free: 7.422 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.917e-06/0.00374, allocations: 4 kB / 0.7 GB, free: 7.418 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.003845, allocations: 15.94 kB / 0.7 GB, free: 7.402 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000223/0.004068, allocations: 142.5 kB / 0.7001 GB, free: 7.23 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.351e-05/0.004101, allocations: 59.3 kB / 0.7002 GB, free: 7.152 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.004126, allocations: 12.5 kB / 0.7002 GB, free: 7.141 MB / 410.8 MB Notification: Performance of SimCode: time 4.21e-07/0.004126, allocations: 0 / 0.7002 GB, free: 7.141 MB / 410.8 MB Notification: Performance of Templates: time 0.001472/0.005598, allocations: 0.5324 MB / 0.7007 GB, free: 6.613 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_FloresPrez2023_PD_bis.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_FloresPrez2023_PD_bis.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_FloresPrez2023_PD_bis.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_FloresPrez2023_PD_bis.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_FloresPrez2023_PD_bis.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_FloresPrez2023_PD_bis > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_FloresPrez2023_PD_bis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.244233480654657]