Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl.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.001414/0.001414, 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.00173/0.00173, allocations: 215.5 kB / 23 MB, free: 2.938 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.1/1.1, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.7424/0.7424, allocations: 312.3 MB / 0.6108 GB, free: 97.53 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.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl") [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.001488/0.001488, allocations: 72.84 kB / 0.7698 GB, free: 20.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1293, allocations: 73.99 MB / 0.8421 GB, free: 10.28 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl): time 0.001495/0.1308, allocations: 0.6277 MB / 0.8427 GB, free: 9.668 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.927e-05/0.1308, allocations: 8.516 kB / 0.8427 GB, free: 9.66 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.1309, allocations: 0.5938 kB / 0.8427 GB, free: 9.66 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.1309, allocations: 0 / 0.8427 GB, free: 9.66 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.954e-05/0.1309, allocations: 8.594 kB / 0.8427 GB, free: 9.652 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.01e-05/0.131, allocations: 11.94 kB / 0.8427 GB, free: 9.641 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.258e-05/0.131, allocations: 8.609 kB / 0.8427 GB, free: 9.633 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.514e-05/0.1311, allocations: 11.98 kB / 0.8428 GB, free: 9.621 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.029e-05/0.1311, allocations: 8.578 kB / 0.8428 GB, free: 9.613 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.1312, allocations: 4.562 kB / 0.8428 GB, free: 9.609 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1312, allocations: 0 / 0.8428 GB, free: 9.609 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.322e-06/0.1312, allocations: 4.5 kB / 0.8428 GB, free: 9.605 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.1312, allocations: 8.484 kB / 0.8428 GB, free: 9.598 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.1312, allocations: 7.938 kB / 0.8428 GB, free: 9.59 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.337e-05/0.1313, allocations: 12.52 kB / 0.8428 GB, free: 9.578 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1313, allocations: 0.6562 kB / 0.8428 GB, free: 9.578 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.594e-06/0.1313, allocations: 0 / 0.8428 GB, free: 9.578 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1313, allocations: 0.5938 kB / 0.8428 GB, free: 9.578 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.0003596/0.1317, allocations: 254.9 kB / 0.843 GB, free: 9.297 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1317, allocations: 12.62 kB / 0.8431 GB, free: 9.285 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.1317, allocations: 0.9375 kB / 0.8431 GB, free: 9.285 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.044e-05/0.1318, allocations: 119 kB / 0.8432 GB, free: 9.145 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1318, allocations: 384 / 0.8432 GB, free: 9.145 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1319, allocations: 5 kB / 0.8432 GB, free: 9.141 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.231e-05/0.1319, allocations: 34.89 kB / 0.8432 GB, free: 9.102 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.132, allocations: 192 / 0.8432 GB, free: 9.102 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.132, allocations: 4.438 kB / 0.8432 GB, free: 9.098 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.132, allocations: 0.625 kB / 0.8432 GB, free: 9.098 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.07e-05/0.132, allocations: 19.92 kB / 0.8432 GB, free: 9.078 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.1321, allocations: 105.9 kB / 0.8433 GB, free: 8.945 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1323, allocations: 51.31 kB / 0.8434 GB, free: 8.887 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.1323, allocations: 20.92 kB / 0.8434 GB, free: 8.863 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.1324, allocations: 0.7188 kB / 0.8434 GB, free: 8.863 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.1324, allocations: 31.19 kB / 0.8434 GB, free: 8.824 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.1324, allocations: 0 / 0.8434 GB, free: 8.824 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001479/0.1325, allocations: 66.19 kB / 0.8435 GB, free: 8.754 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.1325, allocations: 51.41 kB / 0.8436 GB, free: 8.691 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.243e-05/0.1326, allocations: 102.4 kB / 0.8436 GB, free: 8.582 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.1326, allocations: 26.2 kB / 0.8437 GB, free: 8.551 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.353e-05/0.1326, allocations: 84.14 kB / 0.8438 GB, free: 8.465 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.1327, allocations: 12.53 kB / 0.8438 GB, free: 8.453 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.1327, allocations: 14.31 kB / 0.8438 GB, free: 8.434 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.1328, allocations: 318.8 kB / 0.8441 GB, free: 8.113 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.1328, allocations: 4.625 kB / 0.8441 GB, free: 8.109 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.148e-05/0.1328, allocations: 4 kB / 0.8441 GB, free: 8.105 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/0.1328, allocations: 25.45 kB / 0.8441 GB, free: 8.078 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1328, allocations: 0.5938 kB / 0.8441 GB, free: 8.078 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.982e-05/0.1329, allocations: 53.56 kB / 0.8442 GB, free: 8.02 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1329, allocations: 8.594 kB / 0.8442 GB, free: 8.012 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1329, allocations: 0.5625 kB / 0.8442 GB, free: 8.012 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1329, allocations: 3.938 kB / 0.8442 GB, free: 8.008 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.102e-05/0.133, allocations: 4.594 kB / 0.8442 GB, free: 8.004 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.133, allocations: 4.734 kB / 0.8442 GB, free: 8 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.451e-05/0.133, allocations: 12.14 kB / 0.8442 GB, free: 7.988 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.133, allocations: 0.5938 kB / 0.8442 GB, free: 7.988 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.552e-05/0.133, allocations: 111.6 kB / 0.8443 GB, free: 7.871 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-06/0.1331, allocations: 4 kB / 0.8443 GB, free: 7.867 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.1331, allocations: 12.28 kB / 0.8443 GB, free: 7.855 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1331, allocations: 3.938 kB / 0.8443 GB, free: 7.852 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1331, allocations: 0.7188 kB / 0.8443 GB, free: 7.852 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1331, allocations: 4.719 kB / 0.8443 GB, free: 7.848 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.153e-05/0.1331, allocations: 101.3 kB / 0.8444 GB, free: 7.719 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.1331, allocations: 0.625 kB / 0.8444 GB, free: 7.719 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.1332, allocations: 11.94 kB / 0.8444 GB, free: 7.707 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1332, allocations: 4.625 kB / 0.8444 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1332, allocations: 0 / 0.8444 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1332, allocations: 8.516 kB / 0.8445 GB, free: 7.695 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1332, allocations: 4.562 kB / 0.8445 GB, free: 7.691 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.282e-05/0.1333, allocations: 73.08 kB / 0.8445 GB, free: 7.602 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-06/0.1333, allocations: 4.906 kB / 0.8445 GB, free: 7.598 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.1333, allocations: 4.531 kB / 0.8445 GB, free: 7.594 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-06/0.1333, allocations: 0 / 0.8445 GB, free: 7.594 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.1333, allocations: 8.484 kB / 0.8445 GB, free: 7.586 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1333, allocations: 4.609 kB / 0.8445 GB, free: 7.582 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.535e-05/0.1333, allocations: 79.28 kB / 0.8446 GB, free: 7.504 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1333, allocations: 0.625 kB / 0.8446 GB, free: 7.504 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001092/0.1334, allocations: 8 kB / 0.8446 GB, free: 7.496 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.5e-05/0.1335, allocations: 108.4 kB / 0.8447 GB, free: 7.379 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.713e-05/0.1336, allocations: 16.62 kB / 0.8448 GB, free: 7.363 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1336, allocations: 0 / 0.8448 GB, free: 7.363 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.054e-05/0.1336, allocations: 8.844 kB / 0.8448 GB, free: 7.355 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.1338, allocations: 10.48 kB / 0.8448 GB, free: 7.348 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.134, allocations: 143.2 kB / 0.8449 GB, free: 7.176 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.187e-05/0.134, allocations: 63.94 kB / 0.845 GB, free: 7.094 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.1341, allocations: 8.062 kB / 0.845 GB, free: 7.086 MB / 474.8 MB Notification: Performance of SimCode: time 7.02e-07/0.1341, allocations: 0.625 kB / 0.845 GB, free: 7.086 MB / 474.8 MB Notification: Performance of Templates: time 0.001472/0.1355, allocations: 0.5123 MB / 0.8455 GB, free: 6.594 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.839909976348281]