Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.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.001358/0.001358, 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.001057/0.001057, allocations: 220.4 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.9782/0.9782, allocations: 230.6 MB / 256.8 MB, free: 9.625 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.7595/0.7595, allocations: 312.3 MB / 0.6109 GB, free: 97.7 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.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat") [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.001634/0.001634, allocations: 74.8 kB / 0.7699 GB, free: 20.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1604, allocations: 73.99 MB / 0.8421 GB, free: 10.5 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat): time 0.001431/0.1618, allocations: 0.6069 MB / 0.8427 GB, free: 9.91 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001453/0.162, allocations: 20.62 kB / 0.8428 GB, free: 9.891 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.162, allocations: 0 / 0.8428 GB, free: 9.891 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.162, allocations: 4.656 kB / 0.8428 GB, free: 9.887 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.303e-05/0.162, allocations: 0 / 0.8428 GB, free: 9.887 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.1622, allocations: 16.52 kB / 0.8428 GB, free: 9.871 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.995e-05/0.1623, allocations: 16.55 kB / 0.8428 GB, free: 9.855 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.1623, allocations: 4 kB / 0.8428 GB, free: 9.852 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.809e-05/0.1623, allocations: 0.5 kB / 0.8428 GB, free: 9.852 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.1624, allocations: 12.55 kB / 0.8428 GB, free: 9.84 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1624, allocations: 0 / 0.8428 GB, free: 9.84 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.243e-06/0.1624, allocations: 0.625 kB / 0.8428 GB, free: 9.84 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.1624, allocations: 4 kB / 0.8428 GB, free: 9.836 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.1625, allocations: 12.52 kB / 0.8428 GB, free: 9.824 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.881e-05/0.1625, allocations: 12.42 kB / 0.8428 GB, free: 9.812 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1625, allocations: 0 / 0.8428 GB, free: 9.812 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1625, allocations: 0.6875 kB / 0.8428 GB, free: 9.812 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1625, allocations: 0 / 0.8428 GB, free: 9.812 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004059/0.163, allocations: 258.9 kB / 0.8431 GB, free: 9.527 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.163, allocations: 12.52 kB / 0.8431 GB, free: 9.516 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1631, allocations: 5.562 kB / 0.8431 GB, free: 9.512 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.1632, allocations: 110.4 kB / 0.8432 GB, free: 9.379 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1632, allocations: 8.984 kB / 0.8432 GB, free: 9.371 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.1632, allocations: 5.094 kB / 0.8432 GB, free: 9.367 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1633, allocations: 38.25 kB / 0.8433 GB, free: 9.324 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1633, allocations: 0.7812 kB / 0.8433 GB, free: 9.324 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1634, allocations: 3.938 kB / 0.8433 GB, free: 9.32 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1634, allocations: 0.625 kB / 0.8433 GB, free: 9.32 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.055e-05/0.1634, allocations: 8 kB / 0.8433 GB, free: 9.312 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.1636, allocations: 106 kB / 0.8434 GB, free: 9.18 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1637, allocations: 39.23 kB / 0.8434 GB, free: 9.133 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.1638, allocations: 12.92 kB / 0.8434 GB, free: 9.117 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1638, allocations: 0.625 kB / 0.8434 GB, free: 9.117 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.1638, allocations: 31.31 kB / 0.8435 GB, free: 9.078 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 2.394e-06/0.1638, allocations: 0 / 0.8435 GB, free: 9.078 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001988/0.164, allocations: 54.22 kB / 0.8435 GB, free: 9.02 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.1641, allocations: 55.34 kB / 0.8436 GB, free: 8.953 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.1642, allocations: 106.5 kB / 0.8437 GB, free: 8.84 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1642, allocations: 26.33 kB / 0.8437 GB, free: 8.809 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.1642, allocations: 88.08 kB / 0.8438 GB, free: 8.719 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.1642, allocations: 16.41 kB / 0.8438 GB, free: 8.703 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.1643, allocations: 13.72 kB / 0.8438 GB, free: 8.684 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1644, allocations: 319.5 kB / 0.8441 GB, free: 8.363 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.1644, allocations: 4.5 kB / 0.8441 GB, free: 8.359 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.402e-05/0.1644, allocations: 4 kB / 0.8441 GB, free: 8.355 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.936e-05/0.1645, allocations: 21.47 kB / 0.8441 GB, free: 8.332 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.1645, allocations: 0.5938 kB / 0.8441 GB, free: 8.332 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.625e-05/0.1645, allocations: 41.7 kB / 0.8442 GB, free: 8.285 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1646, allocations: 12.56 kB / 0.8442 GB, free: 8.273 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1646, allocations: 4.734 kB / 0.8442 GB, free: 8.27 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.1646, allocations: 3.938 kB / 0.8442 GB, free: 8.266 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.1647, allocations: 4.625 kB / 0.8442 GB, free: 8.262 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1647, allocations: 0 / 0.8442 GB, free: 8.262 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.1647, allocations: 0.5312 kB / 0.8442 GB, free: 8.262 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1647, allocations: 4.594 kB / 0.8442 GB, free: 8.258 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 (3): * Single equations (assignments): 3 * 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 6.172e-05/0.1648, allocations: 106.3 kB / 0.8443 GB, free: 8.145 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-06/0.1648, allocations: 3.953 kB / 0.8443 GB, free: 8.141 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.1649, allocations: 67.08 kB / 0.8444 GB, free: 8.066 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1649, allocations: 3.938 kB / 0.8444 GB, free: 8.062 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1649, allocations: 0 / 0.8444 GB, free: 8.062 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1649, allocations: 0.5938 kB / 0.8444 GB, free: 8.062 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.709e-05/0.165, allocations: 110 kB / 0.8445 GB, free: 7.926 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.165, allocations: 3.938 kB / 0.8445 GB, free: 7.922 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.165, allocations: 8.484 kB / 0.8445 GB, free: 7.914 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.165, allocations: 0.625 kB / 0.8445 GB, free: 7.914 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.165, allocations: 4.25 kB / 0.8445 GB, free: 7.91 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.165, allocations: 8.562 kB / 0.8445 GB, free: 7.902 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.165, allocations: 3.938 kB / 0.8445 GB, free: 7.898 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.846e-05/0.1651, allocations: 69.75 kB / 0.8446 GB, free: 7.812 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-06/0.1651, allocations: 4.453 kB / 0.8446 GB, free: 7.809 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.1651, allocations: 4 kB / 0.8446 GB, free: 7.805 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-06/0.1651, allocations: 4.625 kB / 0.8446 GB, free: 7.801 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.1651, allocations: 8.422 kB / 0.8446 GB, free: 7.793 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.1651, allocations: 0 / 0.8446 GB, free: 7.793 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.579e-05/0.1651, allocations: 79.88 kB / 0.8447 GB, free: 7.715 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1651, allocations: 0.6875 kB / 0.8447 GB, free: 7.715 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001146/0.1653, allocations: 11.94 kB / 0.8447 GB, free: 7.703 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.378e-05/0.1654, allocations: 103.9 kB / 0.8448 GB, free: 7.594 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.162e-05/0.1654, allocations: 20.48 kB / 0.8448 GB, free: 7.574 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1654, allocations: 0.7188 kB / 0.8448 GB, free: 7.574 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.538e-06/0.1654, allocations: 4 kB / 0.8448 GB, free: 7.57 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.1656, allocations: 11.84 kB / 0.8448 GB, free: 7.562 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.1658, allocations: 147.2 kB / 0.845 GB, free: 7.387 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.432e-05/0.1659, allocations: 63.84 kB / 0.845 GB, free: 7.305 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.1659, allocations: 12.19 kB / 0.845 GB, free: 7.293 MB / 474.8 MB Notification: Performance of SimCode: time 5.81e-07/0.1659, allocations: 0 / 0.845 GB, free: 7.293 MB / 474.8 MB Notification: Performance of Templates: time 0.001818/0.1677, allocations: 0.5192 MB / 0.8455 GB, free: 6.797 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.912847851403058]