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_peakamp.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.0006881/0.0006881, allocations: 72.17 kB / 9.866 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009598/0.001648, allocations: 443.8 kB / 10.3 MB, free: 396 kB / 10.45 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.0008846/0.0008846, allocations: 153.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009938/0.001878, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.131/1.131, allocations: 177.1 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09633/1.227, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.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.7722/0.7722, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03209/0.8043, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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_peakamp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.5444 GB, free: 30.67 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.113e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp): time 0.001664/0.001685, allocations: 0.6713 MB / 0.545 GB, free: 29.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 7.097e-05/0.001756, allocations: 31.83 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.001778, allocations: 0 / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.931e-06/0.001784, allocations: 0 / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.71e-05/0.001801, allocations: 7.875 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.171e-05/0.001863, allocations: 7.984 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.001926, allocations: 8 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.00197, allocations: 3.125 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.002037, allocations: 26.66 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.002092, allocations: 7.984 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.002121, allocations: 4 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-06/0.002128, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.00214, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.002163, allocations: 7.938 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.342e-05/0.002226, allocations: 7.938 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.684e-05/0.002243, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.002244, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.002258, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 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.0003391/0.002598, allocations: 235 kB / 0.5454 GB, free: 29.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.002632, allocations: 23.84 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.002661, allocations: 0.9375 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.286e-05/0.002734, allocations: 117.7 kB / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.002749, allocations: 384 / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.002757, allocations: 384 / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.427e-05/0.002831, allocations: 34.25 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.002839, allocations: 192 / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.002846, allocations: 384 / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.002852, allocations: 4.375 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.656e-05/0.002879, allocations: 15.86 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.31e-05/0.002972, allocations: 61.05 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.003085, allocations: 26.58 kB / 0.5457 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.003104, allocations: 8.891 kB / 0.5457 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.003118, allocations: 4 kB / 0.5457 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.003136, allocations: 30.56 kB / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.003138, allocations: 0 / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001117/0.00325, allocations: 45.62 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.003274, allocations: 55.34 kB / 0.5458 GB, free: 29.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.627e-05/0.00332, allocations: 114.7 kB / 0.5459 GB, free: 29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.561e-06/0.003325, allocations: 25.7 kB / 0.5459 GB, free: 28.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.359e-05/0.003339, allocations: 80.14 kB / 0.546 GB, free: 28.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.003364, allocations: 11.89 kB / 0.546 GB, free: 28.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.003396, allocations: 17.7 kB / 0.546 GB, free: 28.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.041e-05/0.003436, allocations: 322.8 kB / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.003446, allocations: 0 / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.447e-06/0.003456, allocations: 4 kB / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.003485, allocations: 8.859 kB / 0.5464 GB, free: 28.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.003486, allocations: 0 / 0.5464 GB, free: 28.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.056e-05/0.003547, allocations: 49.95 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.003561, allocations: 4 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.003566, allocations: 7.609 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.003577, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.003659, allocations: 11.98 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.003663, allocations: 4 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.00368, allocations: 3.953 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.003685, allocations: 0 / 0.5464 GB, free: 28.43 MB / 410.7 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 4.025e-05/0.003726, allocations: 109.8 kB / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.003734, allocations: 4 kB / 0.5465 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.702e-05/0.003821, allocations: 53.61 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.003823, allocations: 0 / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.003825, allocations: 0 / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.003828, allocations: 0 / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.073e-05/0.003898, allocations: 77.83 kB / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.0039, allocations: 0 / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/0.003945, allocations: 11.98 kB / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.003952, allocations: 0 / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.003955, allocations: 0 / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.00396, allocations: 4 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.003962, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.003963, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.121e-05/0.004035, allocations: 69.06 kB / 0.5467 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.004045, allocations: 0 / 0.5467 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.091e-05/0.004066, allocations: 3.938 kB / 0.5467 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.00408, allocations: 15.92 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.004084, allocations: 0 / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.442e-05/0.004098, allocations: 12.84 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.004099, allocations: 0 / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001575/0.004256, allocations: 8 kB / 0.5468 GB, free: 28.02 MB / 410.7 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 7.221e-05/0.004328, allocations: 83.48 kB / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.435e-05/0.004403, allocations: 16.84 kB / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.004406, allocations: 0 / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.653e-05/0.004422, allocations: 16.8 kB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.141e-05/0.004494, allocations: 13.84 kB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000223/0.004717, allocations: 146.2 kB / 0.547 GB, free: 27.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.951e-05/0.004746, allocations: 63.34 kB / 0.5471 GB, free: 27.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.004786, allocations: 51.38 kB / 0.5472 GB, free: 27.57 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.004787, allocations: 0 / 0.5472 GB, free: 27.57 MB / 410.7 MB Notification: Performance of Templates: time 0.001652/0.006439, allocations: 0.5111 MB / 0.5477 GB, free: 27.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.018855177797377]