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_spv.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.002679/0.002679, allocations: 88.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.00362/0.00362, allocations: 169.9 kB / 22.46 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.664/1.664, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.366/1.366, allocations: 292.9 MB / 0.5392 GB, free: 50.23 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.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 4 kB / 0.6998 GB, free: 8.59 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.284e-05, allocations: 2.281 kB / 0.6998 GB, free: 8.586 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv): time 0.001706/0.001739, allocations: 0.6217 MB / 0.7004 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 5.826e-05/0.001797, allocations: 15.91 kB / 0.7005 GB, free: 7.949 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.00183, allocations: 0 / 0.7005 GB, free: 7.949 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.001845, allocations: 0 / 0.7005 GB, free: 7.949 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.752e-05/0.001873, allocations: 7.938 kB / 0.7005 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.678e-05/0.00192, allocations: 3.938 kB / 0.7005 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.001972, allocations: 11.98 kB / 0.7005 GB, free: 7.926 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.002029, allocations: 4 kB / 0.7005 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.002066, allocations: 11.94 kB / 0.7005 GB, free: 7.91 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.452e-05/0.002111, allocations: 3.984 kB / 0.7005 GB, free: 7.906 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.002136, allocations: 0 / 0.7005 GB, free: 7.906 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5e-06/0.002141, allocations: 4 kB / 0.7005 GB, free: 7.902 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.002156, allocations: 0 / 0.7005 GB, free: 7.902 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.904e-05/0.002175, allocations: 11.92 kB / 0.7005 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 4.86e-05/0.002224, allocations: 11.97 kB / 0.7005 GB, free: 7.879 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.002226, allocations: 0 / 0.7005 GB, free: 7.879 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002226, allocations: 0 / 0.7005 GB, free: 7.879 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.002231, allocations: 4 kB / 0.7005 GB, free: 7.875 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.0003164/0.002547, allocations: 258.3 kB / 0.7008 GB, free: 7.59 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.002585, allocations: 8.031 kB / 0.7008 GB, free: 7.582 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.002615, allocations: 4.938 kB / 0.7008 GB, free: 7.578 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.573e-05/0.002681, allocations: 105.8 kB / 0.7009 GB, free: 7.449 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.002697, allocations: 4.375 kB / 0.7009 GB, free: 7.445 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.002705, allocations: 384 / 0.7009 GB, free: 7.445 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.861e-05/0.002784, allocations: 38.25 kB / 0.7009 GB, free: 7.402 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.002794, allocations: 4.125 kB / 0.7009 GB, free: 7.398 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.002802, allocations: 384 / 0.7009 GB, free: 7.398 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.002807, allocations: 8.312 kB / 0.7009 GB, free: 7.391 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.786e-05/0.002855, allocations: 15.92 kB / 0.701 GB, free: 7.375 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.002966, allocations: 105.3 kB / 0.7011 GB, free: 7.242 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.003287, allocations: 50.66 kB / 0.7011 GB, free: 7.184 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.003315, allocations: 12.86 kB / 0.7011 GB, free: 7.168 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.003327, allocations: 0 / 0.7011 GB, free: 7.168 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.003341, allocations: 30.56 kB / 0.7011 GB, free: 7.129 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.003341, allocations: 0 / 0.7011 GB, free: 7.129 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001295/0.003471, allocations: 53.62 kB / 0.7012 GB, free: 7.07 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.003498, allocations: 51.41 kB / 0.7012 GB, free: 7.008 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.871e-05/0.003547, allocations: 113.8 kB / 0.7013 GB, free: 6.887 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.003553, allocations: 25.7 kB / 0.7014 GB, free: 6.855 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.003577, allocations: 84.14 kB / 0.7015 GB, free: 6.77 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.003602, allocations: 19.78 kB / 0.7015 GB, free: 6.75 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.003626, allocations: 13.72 kB / 0.7015 GB, free: 6.73 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.585e-05/0.003671, allocations: 318.8 kB / 0.7018 GB, free: 6.41 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.003686, allocations: 0 / 0.7018 GB, free: 6.41 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.031e-05/0.003696, allocations: 8 kB / 0.7018 GB, free: 6.402 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.052e-05/0.003727, allocations: 20.8 kB / 0.7018 GB, free: 6.379 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.003729, allocations: 0 / 0.7018 GB, free: 6.379 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.411e-05/0.003783, allocations: 49.69 kB / 0.7019 GB, free: 6.324 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.003795, allocations: 8 kB / 0.7019 GB, free: 6.316 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.003799, allocations: 0 / 0.7019 GB, free: 6.316 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.003814, allocations: 0 / 0.7019 GB, free: 6.316 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.987e-05/0.003854, allocations: 4 kB / 0.7019 GB, free: 6.312 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.003858, allocations: 0 / 0.7019 GB, free: 6.312 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.003877, allocations: 3.938 kB / 0.7019 GB, free: 6.309 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.003881, allocations: 0 / 0.7019 GB, free: 6.309 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 4.498e-05/0.003926, allocations: 109.8 kB / 0.702 GB, free: 6.191 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-06/0.003934, allocations: 8.188 kB / 0.702 GB, free: 6.184 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.00396, allocations: 8 kB / 0.702 GB, free: 6.176 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.003961, allocations: 8 kB / 0.702 GB, free: 6.168 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.003964, allocations: 4 kB / 0.702 GB, free: 6.164 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.003967, allocations: 3.938 kB / 0.702 GB, free: 6.16 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.24e-05/0.004019, allocations: 105.3 kB / 0.7021 GB, free: 6.027 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.00402, allocations: 3.984 kB / 0.7021 GB, free: 6.023 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.004049, allocations: 4 kB / 0.7021 GB, free: 6.02 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.00405, allocations: 0 / 0.7021 GB, free: 6.02 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.004057, allocations: 4 kB / 0.7021 GB, free: 6.016 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.004058, allocations: 0 / 0.7021 GB, free: 6.016 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.004058, allocations: 3.938 kB / 0.7021 GB, free: 6.012 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.475e-05/0.004123, allocations: 73.39 kB / 0.7022 GB, free: 5.922 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.004132, allocations: 7.953 kB / 0.7022 GB, free: 5.914 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.004142, allocations: 48 / 0.7022 GB, free: 5.914 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.004161, allocations: 7.984 kB / 0.7022 GB, free: 5.906 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.004172, allocations: 0 / 0.7022 GB, free: 5.906 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.004174, allocations: 0 / 0.7022 GB, free: 5.906 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.826e-05/0.004193, allocations: 87.27 kB / 0.7023 GB, free: 5.82 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.004193, allocations: 0 / 0.7023 GB, free: 5.82 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001647/0.004357, allocations: 11.88 kB / 0.7023 GB, free: 5.809 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 9.158e-05/0.004449, allocations: 107.2 kB / 0.7024 GB, free: 5.695 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 8.235e-05/0.004531, allocations: 15.98 kB / 0.7024 GB, free: 5.68 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.004533, allocations: 0 / 0.7024 GB, free: 5.68 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.268e-05/0.004546, allocations: 8 kB / 0.7024 GB, free: 5.672 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.004683, allocations: 4.781 kB / 0.7024 GB, free: 5.668 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.00491, allocations: 108.8 kB / 0.7025 GB, free: 5.535 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.962e-05/0.00494, allocations: 63.28 kB / 0.7026 GB, free: 5.453 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.59e-05/0.004955, allocations: 4 kB / 0.7026 GB, free: 5.449 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.004975, allocations: 8.5 kB / 0.7026 GB, free: 5.441 MB / 410.8 MB Notification: Performance of SimCode: time 4.11e-07/0.004975, allocations: 0 / 0.7026 GB, free: 5.441 MB / 410.8 MB Notification: Performance of Templates: time 0.002755/0.007731, allocations: 391 kB / 0.703 GB, free: 5.117 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.460456650936976]