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.001438/0.001438, allocations: 104.4 kB / 19.71 MB, free: 440 kB / 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.001827/0.001827, allocations: 216.4 kB / 23 MB, free: 2.961 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.011/1.011, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.7795/0.7795, allocations: 312.3 MB / 0.6108 GB, free: 97.42 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: 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.001577/0.001577, allocations: 70.33 kB / 0.7699 GB, free: 20.18 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1447, allocations: 74 MB / 0.8421 GB, free: 10.32 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_FloresPrez2023_PD_bis): time 0.001394/0.1461, allocations: 0.6354 MB / 0.8427 GB, free: 9.703 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.894e-05/0.1462, allocations: 12.45 kB / 0.8428 GB, free: 9.691 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.1462, allocations: 0.5938 kB / 0.8428 GB, free: 9.691 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.1462, allocations: 0 / 0.8428 GB, free: 9.691 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.498e-05/0.1462, allocations: 4.531 kB / 0.8428 GB, free: 9.688 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.641e-05/0.1463, allocations: 8.484 kB / 0.8428 GB, free: 9.68 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.379e-05/0.1464, allocations: 11.94 kB / 0.8428 GB, free: 9.668 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.23e-05/0.1464, allocations: 8.609 kB / 0.8428 GB, free: 9.66 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.828e-05/0.1464, allocations: 4.531 kB / 0.8428 GB, free: 9.656 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.786e-05/0.1465, allocations: 7.922 kB / 0.8428 GB, free: 9.648 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1465, allocations: 0.7188 kB / 0.8428 GB, free: 9.648 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-06/0.1465, allocations: 4 kB / 0.8428 GB, free: 9.645 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.1465, allocations: 4.5 kB / 0.8428 GB, free: 9.641 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.1466, allocations: 4.469 kB / 0.8428 GB, free: 9.637 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.568e-05/0.1466, allocations: 16.53 kB / 0.8428 GB, free: 9.621 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1466, allocations: 0 / 0.8428 GB, free: 9.621 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1466, allocations: 0.5 kB / 0.8428 GB, free: 9.621 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1466, allocations: 0.5 kB / 0.8428 GB, free: 9.621 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.0003389/0.147, allocations: 259 kB / 0.8431 GB, free: 9.336 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.147, allocations: 16.02 kB / 0.8431 GB, free: 9.32 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.147, allocations: 1.562 kB / 0.8431 GB, free: 9.32 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.746e-05/0.1471, allocations: 119.1 kB / 0.8432 GB, free: 9.18 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1471, allocations: 384 / 0.8432 GB, free: 9.18 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1471, allocations: 0.9688 kB / 0.8432 GB, free: 9.18 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.482e-05/0.1472, allocations: 42.25 kB / 0.8433 GB, free: 9.133 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1472, allocations: 4.75 kB / 0.8433 GB, free: 9.129 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1473, allocations: 4.562 kB / 0.8433 GB, free: 9.125 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1473, allocations: 0 / 0.8433 GB, free: 9.125 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.493e-05/0.1473, allocations: 8.5 kB / 0.8433 GB, free: 9.117 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.1474, allocations: 105.4 kB / 0.8434 GB, free: 8.984 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1476, allocations: 51.2 kB / 0.8434 GB, free: 8.926 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.1476, allocations: 13.36 kB / 0.8434 GB, free: 8.91 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.1476, allocations: 0.7812 kB / 0.8434 GB, free: 8.91 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.1476, allocations: 34.56 kB / 0.8435 GB, free: 8.867 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.1476, allocations: 0.5 kB / 0.8435 GB, free: 8.867 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001321/0.1478, allocations: 62.67 kB / 0.8435 GB, free: 8.801 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.1478, allocations: 51.41 kB / 0.8436 GB, free: 8.738 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.991e-05/0.1479, allocations: 106.3 kB / 0.8437 GB, free: 8.625 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.1479, allocations: 25.7 kB / 0.8437 GB, free: 8.594 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.1479, allocations: 88.89 kB / 0.8438 GB, free: 8.504 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.1479, allocations: 7.906 kB / 0.8438 GB, free: 8.496 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.1479, allocations: 22.36 kB / 0.8438 GB, free: 8.469 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.175e-05/0.148, allocations: 311.3 kB / 0.8441 GB, free: 8.156 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.148, allocations: 4 kB / 0.8441 GB, free: 8.152 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/0.1481, allocations: 12.66 kB / 0.8441 GB, free: 8.141 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.917e-05/0.1481, allocations: 25.34 kB / 0.8441 GB, free: 8.113 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1481, allocations: 0 / 0.8441 GB, free: 8.113 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.833e-05/0.1482, allocations: 46.14 kB / 0.8442 GB, free: 8.062 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1482, allocations: 8.5 kB / 0.8442 GB, free: 8.055 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1482, allocations: 0.5312 kB / 0.8442 GB, free: 8.055 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1482, allocations: 7.922 kB / 0.8442 GB, free: 8.047 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.867e-05/0.1482, allocations: 4.938 kB / 0.8442 GB, free: 8.043 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1482, allocations: 0 / 0.8442 GB, free: 8.043 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.478e-05/0.1483, allocations: 16.52 kB / 0.8442 GB, free: 8.027 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1483, allocations: 0.5938 kB / 0.8442 GB, free: 8.027 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 5.641e-05/0.1483, allocations: 110.6 kB / 0.8443 GB, free: 7.91 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-06/0.1483, allocations: 4 kB / 0.8443 GB, free: 7.906 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.1483, allocations: 8.312 kB / 0.8443 GB, free: 7.898 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1483, allocations: 3.938 kB / 0.8444 GB, free: 7.895 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1483, allocations: 0.5938 kB / 0.8444 GB, free: 7.895 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1483, allocations: 4.594 kB / 0.8444 GB, free: 7.891 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.505e-05/0.1484, allocations: 105.3 kB / 0.8445 GB, free: 7.758 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1484, allocations: 0.5 kB / 0.8445 GB, free: 7.758 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/0.1484, allocations: 4.5 kB / 0.8445 GB, free: 7.754 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1484, allocations: 4 kB / 0.8445 GB, free: 7.75 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.1484, allocations: 0.5625 kB / 0.8445 GB, free: 7.75 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.1484, allocations: 4.531 kB / 0.8445 GB, free: 7.746 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1484, allocations: 7.875 kB / 0.8445 GB, free: 7.738 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.382e-05/0.1485, allocations: 77.64 kB / 0.8446 GB, free: 7.645 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-06/0.1485, allocations: 4.609 kB / 0.8446 GB, free: 7.641 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.1485, allocations: 4 kB / 0.8446 GB, free: 7.637 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-06/0.1485, allocations: 0.5625 kB / 0.8446 GB, free: 7.637 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.1486, allocations: 8.469 kB / 0.8446 GB, free: 7.629 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1486, allocations: 0 / 0.8446 GB, free: 7.629 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.64e-05/0.1486, allocations: 87.89 kB / 0.8447 GB, free: 7.543 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1486, allocations: 0 / 0.8447 GB, free: 7.543 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001051/0.1487, allocations: 4.625 kB / 0.8447 GB, free: 7.539 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 8.399e-05/0.1488, allocations: 99.88 kB / 0.8448 GB, free: 7.43 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.379e-05/0.1489, allocations: 20.44 kB / 0.8448 GB, free: 7.41 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1489, allocations: 0.5938 kB / 0.8448 GB, free: 7.41 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/0.1489, allocations: 11.98 kB / 0.8448 GB, free: 7.398 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.149, allocations: 5.719 kB / 0.8448 GB, free: 7.395 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.1492, allocations: 141.3 kB / 0.8449 GB, free: 7.227 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.866e-05/0.1493, allocations: 64.44 kB / 0.845 GB, free: 7.145 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.1493, allocations: 8.156 kB / 0.845 GB, free: 7.137 MB / 474.8 MB Notification: Performance of SimCode: time 1.042e-06/0.1493, allocations: 0 / 0.845 GB, free: 7.137 MB / 474.8 MB Notification: Performance of Templates: time 0.001423/0.1507, allocations: 0.5171 MB / 0.8455 GB, free: 6.641 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 > 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.929399610497057]