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.002377/0.002377, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002107/0.002107, allocations: 215.6 kB / 22.25 MB, free: 3.574 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.717/1.717, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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 1.446/1.446, allocations: 316.7 MB / 0.6144 GB, free: 93.12 MB / 410.7 MB " [Timeout remaining time 178] 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00384/0.00384, allocations: 77.66 kB / 0.7749 GB, free: 14.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2236, allocations: 73.99 MB / 0.8472 GB, free: 4.965 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_FloresPrez2023_PD_bis): time 0.002517/0.2261, allocations: 0.6301 MB / 0.8478 GB, free: 4.348 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 7.721e-05/0.2261, allocations: 4.688 kB / 0.8478 GB, free: 4.344 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.2262, allocations: 0 / 0.8478 GB, free: 4.344 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.2262, allocations: 4.781 kB / 0.8478 GB, free: 4.34 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.2262, allocations: 3.938 kB / 0.8478 GB, free: 4.336 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.296e-05/0.2263, allocations: 8.672 kB / 0.8478 GB, free: 4.328 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 8.428e-05/0.2264, allocations: 15.98 kB / 0.8478 GB, free: 4.312 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.47e-05/0.2265, allocations: 0.8125 kB / 0.8478 GB, free: 4.312 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.468e-05/0.2265, allocations: 7.938 kB / 0.8479 GB, free: 4.305 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.027e-05/0.2266, allocations: 4.516 kB / 0.8479 GB, free: 4.301 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.2266, allocations: 4.625 kB / 0.8479 GB, free: 4.297 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-06/0.2266, allocations: 0 / 0.8479 GB, free: 4.297 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.2266, allocations: 8.641 kB / 0.8479 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.2267, allocations: 11.98 kB / 0.8479 GB, free: 4.277 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 8.046e-05/0.2267, allocations: 8.672 kB / 0.8479 GB, free: 4.27 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2268, allocations: 0 / 0.8479 GB, free: 4.27 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.444e-06/0.2268, allocations: 4.625 kB / 0.8479 GB, free: 4.266 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.2268, allocations: 0 / 0.8479 GB, free: 4.266 MB / 474.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.0005524/0.2273, allocations: 258.9 kB / 0.8481 GB, free: 3.98 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.2274, allocations: 8.688 kB / 0.8482 GB, free: 3.973 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.2274, allocations: 1.562 kB / 0.8482 GB, free: 3.973 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.2276, allocations: 114.4 kB / 0.8483 GB, free: 3.836 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2276, allocations: 1.031 kB / 0.8483 GB, free: 3.836 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.2276, allocations: 16.25 kB / 0.8483 GB, free: 3.82 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.2277, allocations: 34.84 kB / 0.8483 GB, free: 3.781 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.2277, allocations: 0.6875 kB / 0.8483 GB, free: 3.781 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.2278, allocations: 3.938 kB / 0.8483 GB, free: 3.777 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2278, allocations: 0.625 kB / 0.8483 GB, free: 3.777 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.731e-05/0.2278, allocations: 16.67 kB / 0.8483 GB, free: 3.762 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/0.2284, allocations: 105.3 kB / 0.8484 GB, free: 3.629 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.2286, allocations: 47.2 kB / 0.8485 GB, free: 3.574 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.2286, allocations: 13.48 kB / 0.8485 GB, free: 3.559 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.2287, allocations: 0 / 0.8485 GB, free: 3.559 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.2287, allocations: 31.77 kB / 0.8485 GB, free: 3.52 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.2287, allocations: 0 / 0.8485 GB, free: 3.52 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0002015/0.2289, allocations: 61.62 kB / 0.8486 GB, free: 3.453 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.229, allocations: 60.48 kB / 0.8486 GB, free: 3.383 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.2291, allocations: 105.9 kB / 0.8487 GB, free: 3.27 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.2291, allocations: 25.7 kB / 0.8488 GB, free: 3.238 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.2292, allocations: 82.14 kB / 0.8488 GB, free: 3.156 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.2292, allocations: 15.89 kB / 0.8489 GB, free: 3.141 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.2292, allocations: 13.72 kB / 0.8489 GB, free: 3.121 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.2294, allocations: 318.8 kB / 0.8492 GB, free: 2.801 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.013e-05/0.2295, allocations: 4 kB / 0.8492 GB, free: 2.797 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/0.2295, allocations: 12.72 kB / 0.8492 GB, free: 2.785 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.909e-05/0.2295, allocations: 23.23 kB / 0.8492 GB, free: 2.762 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2295, allocations: 0 / 0.8492 GB, free: 2.762 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.365e-05/0.2296, allocations: 49.69 kB / 0.8493 GB, free: 2.707 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2296, allocations: 7.938 kB / 0.8493 GB, free: 2.699 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2297, allocations: 0 / 0.8493 GB, free: 2.699 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.2297, allocations: 3.938 kB / 0.8493 GB, free: 2.695 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.2297, allocations: 8 kB / 0.8493 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.2297, allocations: 2.656 kB / 0.8493 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.566e-05/0.2298, allocations: 7.891 kB / 0.8493 GB, free: 2.68 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.2298, allocations: 0 / 0.8493 GB, free: 2.68 MB / 474.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 0.0001101/0.2299, allocations: 114.9 kB / 0.8494 GB, free: 2.559 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-06/0.2299, allocations: 0 / 0.8494 GB, free: 2.559 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.2299, allocations: 11.67 kB / 0.8494 GB, free: 2.547 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.2299, allocations: 12.69 kB / 0.8494 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2299, allocations: 0 / 0.8494 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2299, allocations: 0 / 0.8494 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.2301, allocations: 106.2 kB / 0.8495 GB, free: 2.402 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2301, allocations: 0 / 0.8495 GB, free: 2.402 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.2301, allocations: 12.52 kB / 0.8495 GB, free: 2.391 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2301, allocations: 0 / 0.8495 GB, free: 2.391 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.2301, allocations: 4.625 kB / 0.8495 GB, free: 2.387 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2301, allocations: 0 / 0.8495 GB, free: 2.387 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2301, allocations: 4.531 kB / 0.8495 GB, free: 2.383 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.2302, allocations: 81.58 kB / 0.8496 GB, free: 2.285 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.2303, allocations: 4 kB / 0.8496 GB, free: 2.281 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.2303, allocations: 0.625 kB / 0.8496 GB, free: 2.281 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.838e-05/0.2303, allocations: 0.5625 kB / 0.8496 GB, free: 2.281 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.2303, allocations: 3.938 kB / 0.8496 GB, free: 2.277 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.2303, allocations: 4.75 kB / 0.8496 GB, free: 2.273 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.028e-05/0.2304, allocations: 91.86 kB / 0.8497 GB, free: 2.184 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/0.2304, allocations: 0 / 0.8497 GB, free: 2.184 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001767/0.2306, allocations: 4.5 kB / 0.8497 GB, free: 2.18 MB / 474.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 0.0001496/0.2307, allocations: 99.97 kB / 0.8498 GB, free: 2.07 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.2308, allocations: 24.61 kB / 0.8498 GB, free: 2.047 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2308, allocations: 0 / 0.8498 GB, free: 2.047 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.608e-05/0.2308, allocations: 6.062 kB / 0.8499 GB, free: 2.043 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.231, allocations: 13.7 kB / 0.8499 GB, free: 2.035 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.2313, allocations: 108.9 kB / 0.85 GB, free: 1.902 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.535e-05/0.2314, allocations: 66.28 kB / 0.85 GB, free: 1.82 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.606e-05/0.2314, allocations: 0 / 0.85 GB, free: 1.82 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.2315, allocations: 11.44 kB / 0.85 GB, free: 1.809 MB / 474.8 MB Notification: Performance of SimCode: time 6.11e-07/0.2315, allocations: 0 / 0.85 GB, free: 1.809 MB / 474.8 MB Notification: Performance of Templates: time 0.00316/0.2346, allocations: 415 kB / 0.8504 GB, free: 1.469 MB / 474.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_FloresPrez2023_PD_bis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.4681110240053385]