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.00241/0.00241, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.002774/0.002774, allocations: 169.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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.757/1.757, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 178] 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 1.329/1.329, allocations: 292.9 MB / 0.5392 GB, free: 49.82 MB / 410.7 MB " [Timeout remaining time 178] 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 1.503e-06/1.503e-06, allocations: 0 / 0.6998 GB, free: 8.637 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.925e-05, allocations: 6.281 kB / 0.6998 GB, free: 8.629 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp): time 0.001587/0.001616, allocations: 0.6138 MB / 0.7004 GB, free: 8.016 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000156/0.001772, allocations: 19.91 kB / 0.7005 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.001806, allocations: 0 / 0.7005 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.001824, allocations: 3.938 kB / 0.7005 GB, free: 7.992 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.077e-05/0.001855, allocations: 0 / 0.7005 GB, free: 7.992 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.002012, allocations: 4 kB / 0.7005 GB, free: 7.988 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.142e-05/0.002073, allocations: 19.91 kB / 0.7005 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.00212, allocations: 0 / 0.7005 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.002157, allocations: 11.98 kB / 0.7005 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.002208, allocations: 8 kB / 0.7005 GB, free: 7.949 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.002233, allocations: 0 / 0.7005 GB, free: 7.949 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-06/0.002241, allocations: 3.938 kB / 0.7005 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.002261, allocations: 7.984 kB / 0.7005 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.78e-05/0.002279, allocations: 4 kB / 0.7005 GB, free: 7.934 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.834e-05/0.002337, allocations: 15.91 kB / 0.7005 GB, free: 7.918 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002339, allocations: 0 / 0.7005 GB, free: 7.918 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002339, allocations: 0 / 0.7005 GB, free: 7.918 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.002344, allocations: 0 / 0.7005 GB, free: 7.918 MB / 410.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.0003471/0.002691, allocations: 254.4 kB / 0.7008 GB, free: 7.637 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.002732, allocations: 15.97 kB / 0.7008 GB, free: 7.621 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.002764, allocations: 4.875 kB / 0.7008 GB, free: 7.617 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.085e-05/0.002835, allocations: 109.8 kB / 0.7009 GB, free: 7.484 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.002848, allocations: 384 / 0.7009 GB, free: 7.484 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.00286, allocations: 12.3 kB / 0.7009 GB, free: 7.473 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.416e-05/0.002944, allocations: 34.27 kB / 0.7009 GB, free: 7.434 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.002952, allocations: 192 / 0.7009 GB, free: 7.434 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.002961, allocations: 384 / 0.7009 GB, free: 7.434 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.002966, allocations: 384 / 0.7009 GB, free: 7.434 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.451e-05/0.00301, allocations: 19.92 kB / 0.701 GB, free: 7.414 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.003125, allocations: 105.4 kB / 0.7011 GB, free: 7.281 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.003227, allocations: 38.52 kB / 0.7011 GB, free: 7.234 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.003253, allocations: 12.92 kB / 0.7011 GB, free: 7.219 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.003271, allocations: 0 / 0.7011 GB, free: 7.219 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.003288, allocations: 34.55 kB / 0.7012 GB, free: 7.176 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.003288, allocations: 0 / 0.7012 GB, free: 7.176 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001442/0.003432, allocations: 53.62 kB / 0.7012 GB, free: 7.117 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.003458, allocations: 51.41 kB / 0.7013 GB, free: 7.055 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.003513, allocations: 105.8 kB / 0.7014 GB, free: 6.941 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.003522, allocations: 25.7 kB / 0.7014 GB, free: 6.91 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.001e-05/0.003542, allocations: 88.12 kB / 0.7015 GB, free: 6.82 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.00357, allocations: 19.84 kB / 0.7015 GB, free: 6.801 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.003595, allocations: 13.72 kB / 0.7015 GB, free: 6.781 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.003642, allocations: 314.8 kB / 0.7018 GB, free: 6.465 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.003659, allocations: 3.984 kB / 0.7018 GB, free: 6.461 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.125e-05/0.00367, allocations: 8 kB / 0.7018 GB, free: 6.453 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.9e-05/0.003709, allocations: 17.14 kB / 0.7018 GB, free: 6.434 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.003711, allocations: 0 / 0.7018 GB, free: 6.434 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.511e-05/0.003766, allocations: 53.61 kB / 0.7019 GB, free: 6.375 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.003781, allocations: 10.19 kB / 0.7019 GB, free: 6.367 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.003785, allocations: 0 / 0.7019 GB, free: 6.367 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.003798, allocations: 0 / 0.7019 GB, free: 6.367 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.003862, allocations: 8 kB / 0.7019 GB, free: 6.359 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.003866, allocations: 0 / 0.7019 GB, free: 6.359 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.003887, allocations: 3.938 kB / 0.7019 GB, free: 6.355 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.003892, allocations: 3.984 kB / 0.7019 GB, free: 6.352 MB / 410.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 3.98e-05/0.003932, allocations: 109.8 kB / 0.702 GB, free: 6.234 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-06/0.003939, allocations: 7.891 kB / 0.702 GB, free: 6.227 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.3e-05/0.004032, allocations: 57.69 kB / 0.7021 GB, free: 6.164 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.004034, allocations: 0 / 0.7021 GB, free: 6.164 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.004038, allocations: 0 / 0.7021 GB, free: 6.164 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.004044, allocations: 3.938 kB / 0.7021 GB, free: 6.16 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.385e-05/0.004098, allocations: 113.3 kB / 0.7022 GB, free: 6.02 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.004099, allocations: 3.938 kB / 0.7022 GB, free: 6.016 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.004135, allocations: 4 kB / 0.7022 GB, free: 6.012 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.004137, allocations: 0 / 0.7022 GB, free: 6.012 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.004144, allocations: 3.938 kB / 0.7022 GB, free: 6.008 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.004145, allocations: 0 / 0.7022 GB, free: 6.008 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.004147, allocations: 4.25 kB / 0.7022 GB, free: 6.004 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.367e-05/0.00422, allocations: 81.05 kB / 0.7023 GB, free: 5.906 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-06/0.004226, allocations: 3.953 kB / 0.7023 GB, free: 5.902 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.004238, allocations: 4 kB / 0.7023 GB, free: 5.898 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.112e-05/0.004259, allocations: 0 / 0.7023 GB, free: 5.898 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.004274, allocations: 12 kB / 0.7023 GB, free: 5.887 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.004276, allocations: 0 / 0.7023 GB, free: 5.887 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.363e-05/0.0043, allocations: 83.27 kB / 0.7024 GB, free: 5.805 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.0043, allocations: 0 / 0.7024 GB, free: 5.805 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001977/0.004498, allocations: 7.938 kB / 0.7024 GB, free: 5.797 MB / 410.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.527e-05/0.004583, allocations: 107.2 kB / 0.7025 GB, free: 5.684 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 8.681e-05/0.00467, allocations: 15.98 kB / 0.7025 GB, free: 5.668 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.004671, allocations: 0 / 0.7025 GB, free: 5.668 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.575e-05/0.004687, allocations: 8 kB / 0.7025 GB, free: 5.66 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.004836, allocations: 8.656 kB / 0.7025 GB, free: 5.652 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.00509, allocations: 116.7 kB / 0.7026 GB, free: 5.512 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.562e-05/0.005126, allocations: 63.34 kB / 0.7027 GB, free: 5.43 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.309e-05/0.005139, allocations: 0 / 0.7027 GB, free: 5.43 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.005168, allocations: 12.5 kB / 0.7027 GB, free: 5.418 MB / 410.8 MB Notification: Performance of SimCode: time 3.91e-07/0.005168, allocations: 0 / 0.7027 GB, free: 5.418 MB / 410.8 MB Notification: Performance of Templates: time 0.003042/0.008211, allocations: 451.8 kB / 0.7031 GB, free: 5.031 MB / 410.8 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.374140426982194]