Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.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.0009603/0.0009603, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009806/0.0009806, allocations: 166.3 kB / 23.21 MB, free: 1.328 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 0.9702/0.9702, allocations: 177.1 MB / 203.5 MB, free: 5.684 MB / 186.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.7117/0.7117, allocations: 291.2 MB / 0.5382 GB, free: 51.73 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.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.534e-05, allocations: 9.312 kB / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate): time 0.0009652/0.0009805, allocations: 0.6282 MB / 0.6979 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 5.758e-05/0.001038, allocations: 4 kB / 0.6979 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.458e-05/0.001073, allocations: 0 / 0.6979 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.00109, allocations: 3.938 kB / 0.6979 GB, free: 9.754 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.952e-05/0.001119, allocations: 3.938 kB / 0.698 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.754e-05/0.001177, allocations: 7.984 kB / 0.698 GB, free: 9.742 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.902e-05/0.001236, allocations: 7.938 kB / 0.698 GB, free: 9.734 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.168e-05/0.001297, allocations: 11.98 kB / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.001336, allocations: 3.938 kB / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.001392, allocations: 7.984 kB / 0.698 GB, free: 9.711 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.00142, allocations: 4 kB / 0.698 GB, free: 9.707 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.049e-06/0.001425, allocations: 0 / 0.698 GB, free: 9.707 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.001443, allocations: 4 kB / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.001467, allocations: 7.984 kB / 0.698 GB, free: 9.695 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.259e-05/0.00153, allocations: 19.8 kB / 0.698 GB, free: 9.676 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.001532, allocations: 0 / 0.698 GB, free: 9.676 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.82e-07/0.001533, allocations: 0 / 0.698 GB, free: 9.676 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.001537, allocations: 0 / 0.698 GB, free: 9.676 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.0003144/0.001851, allocations: 254.4 kB / 0.6983 GB, free: 9.395 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.001895, allocations: 8.031 kB / 0.6983 GB, free: 9.387 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.001928, allocations: 8.922 kB / 0.6983 GB, free: 9.379 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.893e-05/0.001997, allocations: 109.8 kB / 0.6984 GB, free: 9.246 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.002011, allocations: 384 / 0.6984 GB, free: 9.246 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.002021, allocations: 4.375 kB / 0.6984 GB, free: 9.242 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.344e-05/0.002115, allocations: 34.27 kB / 0.6984 GB, free: 9.203 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.002125, allocations: 4.172 kB / 0.6984 GB, free: 9.199 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.002136, allocations: 384 / 0.6984 GB, free: 9.199 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.00214, allocations: 384 / 0.6984 GB, free: 9.199 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.069e-05/0.002181, allocations: 11.94 kB / 0.6984 GB, free: 9.188 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.002289, allocations: 109.3 kB / 0.6985 GB, free: 9.051 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.002554, allocations: 54.62 kB / 0.6986 GB, free: 8.988 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.002577, allocations: 8.859 kB / 0.6986 GB, free: 8.977 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.002588, allocations: 3.984 kB / 0.6986 GB, free: 8.973 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.002601, allocations: 30.56 kB / 0.6986 GB, free: 8.934 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.002602, allocations: 0 / 0.6986 GB, free: 8.934 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001427/0.002745, allocations: 49.64 kB / 0.6987 GB, free: 8.879 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.002769, allocations: 55.39 kB / 0.6987 GB, free: 8.812 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.937e-05/0.002819, allocations: 105.8 kB / 0.6988 GB, free: 8.699 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.491e-06/0.002824, allocations: 25.7 kB / 0.6989 GB, free: 8.668 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.99e-05/0.002844, allocations: 84.14 kB / 0.6989 GB, free: 8.582 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.002875, allocations: 19.83 kB / 0.699 GB, free: 8.562 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/0.002892, allocations: 17.72 kB / 0.699 GB, free: 8.539 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.697e-05/0.002919, allocations: 314.8 kB / 0.6993 GB, free: 8.223 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.002931, allocations: 7.938 kB / 0.6993 GB, free: 8.215 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.002941, allocations: 8.172 kB / 0.6993 GB, free: 8.207 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.002967, allocations: 20.94 kB / 0.6993 GB, free: 8.184 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.002969, allocations: 3.938 kB / 0.6993 GB, free: 8.18 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.509e-05/0.003004, allocations: 45.64 kB / 0.6994 GB, free: 8.129 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.003019, allocations: 7.984 kB / 0.6994 GB, free: 8.121 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.003023, allocations: 0 / 0.6994 GB, free: 8.121 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.003035, allocations: 4 kB / 0.6994 GB, free: 8.117 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.604e-05/0.003061, allocations: 8 kB / 0.6994 GB, free: 8.109 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.003065, allocations: 0 / 0.6994 GB, free: 8.109 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-06/0.003075, allocations: 3.938 kB / 0.6994 GB, free: 8.105 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.003078, allocations: 0 / 0.6994 GB, free: 8.105 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 2.812e-05/0.003106, allocations: 109.8 kB / 0.6995 GB, free: 7.988 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-06/0.00311, allocations: 3.953 kB / 0.6995 GB, free: 7.984 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.324e-05/0.003123, allocations: 8 kB / 0.6995 GB, free: 7.977 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.003124, allocations: 0 / 0.6995 GB, free: 7.977 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.003128, allocations: 8.234 kB / 0.6995 GB, free: 7.969 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.003131, allocations: 3.938 kB / 0.6995 GB, free: 7.965 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.265e-05/0.003163, allocations: 109.3 kB / 0.6996 GB, free: 7.828 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-07/0.003164, allocations: 0 / 0.6996 GB, free: 7.828 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.819e-06/0.003173, allocations: 4 kB / 0.6996 GB, free: 7.824 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-07/0.003174, allocations: 0 / 0.6996 GB, free: 7.824 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.003179, allocations: 0 / 0.6996 GB, free: 7.824 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.003182, allocations: 7.984 kB / 0.6996 GB, free: 7.816 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.003182, allocations: 3.938 kB / 0.6996 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.901e-05/0.003221, allocations: 65.08 kB / 0.6997 GB, free: 7.73 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-06/0.003225, allocations: 7.938 kB / 0.6997 GB, free: 7.723 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-06/0.003234, allocations: 8 kB / 0.6997 GB, free: 7.715 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-06/0.00324, allocations: 0 / 0.6997 GB, free: 7.715 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.053e-05/0.003251, allocations: 4 kB / 0.6997 GB, free: 7.711 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.92e-07/0.003252, allocations: 0 / 0.6997 GB, free: 7.711 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.319e-05/0.003265, allocations: 83.27 kB / 0.6998 GB, free: 7.629 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003265, allocations: 4 kB / 0.6998 GB, free: 7.625 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001025/0.003367, allocations: 3.938 kB / 0.6998 GB, free: 7.621 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 (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 Backend phase and start with SimCode phase: time 4.954e-05/0.003417, allocations: 103.2 kB / 0.6999 GB, free: 7.512 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 5.554e-05/0.003473, allocations: 15.94 kB / 0.6999 GB, free: 7.496 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.003474, allocations: 3.938 kB / 0.6999 GB, free: 7.492 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.345e-06/0.003482, allocations: 11.98 kB / 0.6999 GB, free: 7.48 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.796e-05/0.00358, allocations: 8 kB / 0.6999 GB, free: 7.473 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/0.003749, allocations: 136.7 kB / 0.7001 GB, free: 7.309 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.484e-05/0.003774, allocations: 63.33 kB / 0.7001 GB, free: 7.227 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.003794, allocations: 12.5 kB / 0.7001 GB, free: 7.215 MB / 410.8 MB Notification: Performance of SimCode: time 4.01e-07/0.003794, allocations: 0 / 0.7001 GB, free: 7.215 MB / 410.8 MB Notification: Performance of Templates: time 0.001128/0.004922, allocations: 0.5032 MB / 0.7006 GB, free: 6.719 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.163659676909447]