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_body_sway.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.002307/0.002307, allocations: 88.44 kB / 19.18 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.002449/0.002449, 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.721/1.721, 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.322/1.322, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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_body_sway,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_body_sway") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_body_sway,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_body_sway") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.6999 GB, free: 8.66 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.755e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.656 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_body_sway): time 0.001421/0.001448, allocations: 0.6281 MB / 0.7005 GB, free: 8.027 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.542e-05/0.001494, allocations: 7.938 kB / 0.7005 GB, free: 8.02 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.001529, allocations: 0 / 0.7005 GB, free: 8.02 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.001546, allocations: 0 / 0.7005 GB, free: 8.02 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.894e-05/0.001575, allocations: 3.938 kB / 0.7005 GB, free: 8.016 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.477e-05/0.001629, allocations: 7.984 kB / 0.7005 GB, free: 8.008 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.102e-05/0.00169, allocations: 11.94 kB / 0.7005 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.001743, allocations: 4 kB / 0.7005 GB, free: 7.992 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.00178, allocations: 7.984 kB / 0.7005 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.001827, allocations: 7.984 kB / 0.7005 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.001855, allocations: 3.984 kB / 0.7005 GB, free: 7.973 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.95e-06/0.00186, allocations: 4 kB / 0.7005 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.001874, allocations: 3.938 kB / 0.7005 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.001895, allocations: 4 kB / 0.7005 GB, free: 7.961 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.506e-05/0.00195, allocations: 7.984 kB / 0.7005 GB, free: 7.953 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.472e-06/0.001951, allocations: 0 / 0.7005 GB, free: 7.953 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.51e-07/0.001952, allocations: 0 / 0.7005 GB, free: 7.953 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.001956, allocations: 0 / 0.7005 GB, free: 7.953 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.0003216/0.002277, allocations: 258.3 kB / 0.7008 GB, free: 7.668 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.002315, allocations: 12.03 kB / 0.7008 GB, free: 7.656 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.002345, allocations: 4.938 kB / 0.7008 GB, free: 7.652 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.936e-05/0.002414, allocations: 113.7 kB / 0.7009 GB, free: 7.516 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.002427, allocations: 384 / 0.7009 GB, free: 7.516 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.002435, allocations: 4.375 kB / 0.7009 GB, free: 7.512 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.62e-05/0.002521, allocations: 42.14 kB / 0.701 GB, free: 7.465 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.002529, allocations: 192 / 0.701 GB, free: 7.465 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.002538, allocations: 4.312 kB / 0.701 GB, free: 7.461 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.002541, allocations: 384 / 0.701 GB, free: 7.461 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.083e-05/0.002582, allocations: 15.92 kB / 0.701 GB, free: 7.445 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.00269, allocations: 105.3 kB / 0.7011 GB, free: 7.312 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.003008, allocations: 58.64 kB / 0.7011 GB, free: 7.246 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.003034, allocations: 8.859 kB / 0.7011 GB, free: 7.234 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.003047, allocations: 0 / 0.7011 GB, free: 7.234 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.003061, allocations: 38.48 kB / 0.7012 GB, free: 7.188 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.003062, allocations: 0 / 0.7012 GB, free: 7.188 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001279/0.00319, allocations: 45.7 kB / 0.7012 GB, free: 7.137 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.003223, allocations: 51.41 kB / 0.7013 GB, free: 7.074 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.038e-05/0.003274, allocations: 109.8 kB / 0.7014 GB, free: 6.957 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.003282, allocations: 25.7 kB / 0.7014 GB, free: 6.926 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.968e-05/0.003302, allocations: 88.14 kB / 0.7015 GB, free: 6.836 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.003328, allocations: 19.83 kB / 0.7015 GB, free: 6.816 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.003352, allocations: 13.72 kB / 0.7015 GB, free: 6.797 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.459e-05/0.003397, allocations: 314.8 kB / 0.7018 GB, free: 6.48 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.003412, allocations: 4 kB / 0.7018 GB, free: 6.477 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.929e-06/0.003422, allocations: 4 kB / 0.7018 GB, free: 6.473 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.003456, allocations: 24.78 kB / 0.7018 GB, free: 6.445 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.003457, allocations: 0 / 0.7018 GB, free: 6.445 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.123e-05/0.003509, allocations: 41.7 kB / 0.7019 GB, free: 6.398 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.003519, allocations: 4 kB / 0.7019 GB, free: 6.395 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.003524, allocations: 4 kB / 0.7019 GB, free: 6.391 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.003539, allocations: 7.984 kB / 0.7019 GB, free: 6.383 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.875e-05/0.003578, allocations: 4 kB / 0.7019 GB, free: 6.379 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.003583, allocations: 0 / 0.7019 GB, free: 6.379 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.003602, allocations: 3.938 kB / 0.7019 GB, free: 6.375 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-06/0.003605, allocations: 0 / 0.7019 GB, free: 6.375 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.942e-05/0.003645, allocations: 109.8 kB / 0.702 GB, free: 6.258 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-06/0.003652, allocations: 3.953 kB / 0.702 GB, free: 6.254 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.003671, allocations: 11.94 kB / 0.702 GB, free: 6.242 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.003672, allocations: 4 kB / 0.702 GB, free: 6.238 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.003676, allocations: 0 / 0.702 GB, free: 6.238 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.003679, allocations: 7.938 kB / 0.702 GB, free: 6.23 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.154e-05/0.00373, allocations: 109.5 kB / 0.7021 GB, free: 6.094 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.003731, allocations: 3.938 kB / 0.7021 GB, free: 6.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/0.003763, allocations: 8 kB / 0.7022 GB, free: 6.082 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.003764, allocations: 0 / 0.7022 GB, free: 6.082 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.00377, allocations: 0 / 0.7022 GB, free: 6.082 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.003771, allocations: 7.938 kB / 0.7022 GB, free: 6.074 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.003772, allocations: 0 / 0.7022 GB, free: 6.074 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.367e-05/0.003835, allocations: 69.06 kB / 0.7022 GB, free: 5.988 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-06/0.00384, allocations: 4.328 kB / 0.7022 GB, free: 5.984 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.003851, allocations: 11.98 kB / 0.7022 GB, free: 5.973 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.827e-05/0.003869, allocations: 4 kB / 0.7022 GB, free: 5.969 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.003882, allocations: 0 / 0.7022 GB, free: 5.969 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.003888, allocations: 3.984 kB / 0.7023 GB, free: 5.965 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.778e-05/0.003906, allocations: 87.22 kB / 0.7023 GB, free: 5.879 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.003906, allocations: 0 / 0.7023 GB, free: 5.879 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001661/0.004072, allocations: 7.938 kB / 0.7023 GB, free: 5.871 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 7.76e-05/0.00415, allocations: 107.2 kB / 0.7024 GB, free: 5.758 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.299e-05/0.004223, allocations: 8 kB / 0.7025 GB, free: 5.75 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.004224, allocations: 0 / 0.7025 GB, free: 5.75 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.211e-05/0.004236, allocations: 12 kB / 0.7025 GB, free: 5.738 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.004374, allocations: 8.641 kB / 0.7025 GB, free: 5.73 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/0.004582, allocations: 112.8 kB / 0.7026 GB, free: 5.594 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.024e-05/0.004612, allocations: 55.36 kB / 0.7026 GB, free: 5.52 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.403e-05/0.004626, allocations: 7.984 kB / 0.7026 GB, free: 5.512 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.004647, allocations: 8.5 kB / 0.7026 GB, free: 5.504 MB / 410.8 MB Notification: Performance of SimCode: time 3.51e-07/0.004647, allocations: 0 / 0.7026 GB, free: 5.504 MB / 410.8 MB Notification: Performance of Templates: time 0.002535/0.007182, allocations: 389.9 kB / 0.703 GB, free: 5.18 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_body_sway.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_body_sway.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_body_sway.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_body_sway.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_body_sway.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_body_sway -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_body_sway.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.289691609097645]