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.0009815/0.0009815, allocations: 104.4 kB / 19.71 MB, free: 436 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.00107/0.00107, allocations: 215.5 kB / 23.01 MB, free: 2.934 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 0.9769/0.9769, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7658/0.7658, allocations: 312.3 MB / 0.6108 GB, free: 97.63 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: 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.001589/0.001589, allocations: 75.33 kB / 0.7698 GB, free: 20.18 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1308, allocations: 73.98 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_Lu1994_PD_tnw12_30): time 0.001542/0.1324, allocations: 0.6446 MB / 0.8427 GB, free: 9.691 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.438e-05/0.1324, allocations: 8.625 kB / 0.8427 GB, free: 9.684 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.1324, allocations: 0.625 kB / 0.8427 GB, free: 9.684 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.253e-05/0.1324, allocations: 0 / 0.8427 GB, free: 9.684 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 2.558e-05/0.1325, allocations: 4.562 kB / 0.8427 GB, free: 9.68 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.186e-05/0.1325, allocations: 8.578 kB / 0.8427 GB, free: 9.672 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.503e-05/0.1326, allocations: 11.98 kB / 0.8428 GB, free: 9.66 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.264e-05/0.1327, allocations: 4.625 kB / 0.8428 GB, free: 9.656 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.043e-05/0.1327, allocations: 8.531 kB / 0.8428 GB, free: 9.648 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.457e-05/0.1327, allocations: 15.91 kB / 0.8428 GB, free: 9.633 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1328, allocations: 0.5625 kB / 0.8428 GB, free: 9.633 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-06/0.1328, allocations: 4 kB / 0.8428 GB, free: 9.629 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.1328, allocations: 0.625 kB / 0.8428 GB, free: 9.629 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.1328, allocations: 8.547 kB / 0.8428 GB, free: 9.621 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.164e-05/0.1329, allocations: 15.92 kB / 0.8428 GB, free: 9.605 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1329, allocations: 0.5312 kB / 0.8428 GB, free: 9.605 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1329, allocations: 4.562 kB / 0.8428 GB, free: 9.602 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1329, allocations: 0 / 0.8428 GB, free: 9.602 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.0003761/0.1333, allocations: 255 kB / 0.8431 GB, free: 9.32 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1333, allocations: 12.59 kB / 0.8431 GB, free: 9.309 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.1333, allocations: 0.9375 kB / 0.8431 GB, free: 9.309 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.139e-05/0.1334, allocations: 115.1 kB / 0.8432 GB, free: 9.172 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.1334, allocations: 0.875 kB / 0.8432 GB, free: 9.172 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1334, allocations: 384 / 0.8432 GB, free: 9.172 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.23e-05/0.1335, allocations: 42.97 kB / 0.8432 GB, free: 9.125 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1335, allocations: 192 / 0.8432 GB, free: 9.125 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1336, allocations: 4.656 kB / 0.8432 GB, free: 9.121 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1336, allocations: 0 / 0.8432 GB, free: 9.121 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.923e-05/0.1336, allocations: 12.7 kB / 0.8432 GB, free: 9.109 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.1337, allocations: 109.3 kB / 0.8433 GB, free: 8.973 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.1339, allocations: 43.27 kB / 0.8434 GB, free: 8.922 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.134, allocations: 21.39 kB / 0.8434 GB, free: 8.898 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.134, allocations: 0.625 kB / 0.8434 GB, free: 8.898 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.134, allocations: 30.7 kB / 0.8434 GB, free: 8.859 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.134, allocations: 0.5 kB / 0.8434 GB, free: 8.859 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001517/0.1341, allocations: 62.19 kB / 0.8435 GB, free: 8.793 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.1342, allocations: 59.98 kB / 0.8436 GB, free: 8.723 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.001e-05/0.1342, allocations: 93.86 kB / 0.8436 GB, free: 8.621 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.1342, allocations: 26.2 kB / 0.8437 GB, free: 8.59 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.1343, allocations: 88.86 kB / 0.8438 GB, free: 8.5 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.1343, allocations: 11.89 kB / 0.8438 GB, free: 8.488 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.1343, allocations: 18.31 kB / 0.8438 GB, free: 8.465 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.1344, allocations: 310.8 kB / 0.8441 GB, free: 8.152 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.1344, allocations: 8.75 kB / 0.8441 GB, free: 8.145 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.373e-05/0.1344, allocations: 8.797 kB / 0.8441 GB, free: 8.137 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/0.1345, allocations: 28.94 kB / 0.8441 GB, free: 8.105 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1345, allocations: 0.625 kB / 0.8441 GB, free: 8.105 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.462e-05/0.1345, allocations: 50.38 kB / 0.8442 GB, free: 8.051 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1345, allocations: 8 kB / 0.8442 GB, free: 8.043 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1346, allocations: 4.531 kB / 0.8442 GB, free: 8.039 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1346, allocations: 3.938 kB / 0.8442 GB, free: 8.035 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.315e-05/0.1346, allocations: 8.688 kB / 0.8442 GB, free: 8.027 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1346, allocations: 0 / 0.8442 GB, free: 8.027 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.405e-05/0.1346, allocations: 12.48 kB / 0.8442 GB, free: 8.016 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1346, allocations: 0.6875 kB / 0.8442 GB, free: 8.016 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.803e-05/0.1347, allocations: 105.8 kB / 0.8443 GB, free: 7.902 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-06/0.1347, allocations: 4.719 kB / 0.8443 GB, free: 7.898 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.1347, allocations: 12.33 kB / 0.8443 GB, free: 7.887 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1347, allocations: 3.938 kB / 0.8443 GB, free: 7.883 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1347, allocations: 0.625 kB / 0.8443 GB, free: 7.883 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1347, allocations: 4 kB / 0.8443 GB, free: 7.879 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.04e-05/0.1348, allocations: 105.9 kB / 0.8444 GB, free: 7.746 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1348, allocations: 0.625 kB / 0.8444 GB, free: 7.746 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.1348, allocations: 11.92 kB / 0.8444 GB, free: 7.734 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1348, allocations: 4.688 kB / 0.8445 GB, free: 7.73 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.1348, allocations: 0 / 0.8445 GB, free: 7.73 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1348, allocations: 0.5 kB / 0.8445 GB, free: 7.73 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1348, allocations: 4.562 kB / 0.8445 GB, free: 7.727 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.824e-05/0.1349, allocations: 77.08 kB / 0.8445 GB, free: 7.633 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.1349, allocations: 0.5 kB / 0.8445 GB, free: 7.633 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.1349, allocations: 4.594 kB / 0.8445 GB, free: 7.629 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.714e-06/0.1349, allocations: 0 / 0.8445 GB, free: 7.629 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.135, allocations: 4.438 kB / 0.8445 GB, free: 7.625 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.135, allocations: 4.562 kB / 0.8445 GB, free: 7.621 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.944e-05/0.135, allocations: 87.27 kB / 0.8446 GB, free: 7.535 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.135, allocations: 0.6562 kB / 0.8446 GB, free: 7.535 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001105/0.1351, allocations: 4 kB / 0.8446 GB, free: 7.531 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 9.475e-05/0.1352, allocations: 100.4 kB / 0.8447 GB, free: 7.422 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.15e-05/0.1353, allocations: 24.58 kB / 0.8448 GB, free: 7.398 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1353, allocations: 0 / 0.8448 GB, free: 7.398 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/0.1353, allocations: 12.56 kB / 0.8448 GB, free: 7.387 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/0.1354, allocations: 1.688 kB / 0.8448 GB, free: 7.387 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.1357, allocations: 139.1 kB / 0.8449 GB, free: 7.219 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.691e-05/0.1357, allocations: 67.97 kB / 0.845 GB, free: 7.133 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.1357, allocations: 11.38 kB / 0.845 GB, free: 7.121 MB / 474.8 MB Notification: Performance of SimCode: time 8.02e-07/0.1357, allocations: 0.75 kB / 0.845 GB, free: 7.121 MB / 474.8 MB Notification: Performance of Templates: time 0.001543/0.1373, allocations: 0.5181 MB / 0.8455 GB, free: 6.625 MB / 474.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.73216865118593]