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_vas_feeling_high.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.001035/0.001035, 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.00114/0.00114, allocations: 166.3 kB / 23.21 MB, free: 1.332 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.9262/0.9262, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.77/0.77, allocations: 291.2 MB / 0.5382 GB, free: 51.34 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_vas_feeling_high,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.607e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high): time 0.001079/0.001105, allocations: 0.6227 MB / 0.6979 GB, free: 9.809 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.257e-05/0.001148, allocations: 8 kB / 0.6979 GB, free: 9.801 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.001177, allocations: 0 / 0.6979 GB, free: 9.801 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.001192, allocations: 7.875 kB / 0.6979 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.769e-05/0.00122, allocations: 3.938 kB / 0.6979 GB, free: 9.789 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.058e-05/0.001271, allocations: 3.984 kB / 0.6979 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.065e-05/0.001331, allocations: 15.97 kB / 0.698 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.001383, allocations: 0 / 0.698 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.44e-05/0.001417, allocations: 11.94 kB / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.001461, allocations: 7.984 kB / 0.698 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.001484, allocations: 4 kB / 0.698 GB, free: 9.746 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.489e-06/0.001489, allocations: 0 / 0.698 GB, free: 9.746 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.001502, allocations: 0 / 0.698 GB, free: 9.746 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.001523, allocations: 15.92 kB / 0.698 GB, free: 9.73 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 4.99e-05/0.001573, allocations: 7.922 kB / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.001575, allocations: 7.938 kB / 0.698 GB, free: 9.715 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.142e-06/0.001577, allocations: 0 / 0.698 GB, free: 9.715 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.001581, allocations: 0 / 0.698 GB, free: 9.715 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.0002654/0.001846, allocations: 252.6 kB / 0.6983 GB, free: 9.438 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.001881, allocations: 12.03 kB / 0.6983 GB, free: 9.426 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.001908, allocations: 4.938 kB / 0.6983 GB, free: 9.422 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.566e-05/0.001964, allocations: 113.7 kB / 0.6984 GB, free: 9.285 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.001976, allocations: 384 / 0.6984 GB, free: 9.285 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.001984, allocations: 384 / 0.6984 GB, free: 9.285 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.827e-05/0.002062, allocations: 38.25 kB / 0.6984 GB, free: 9.242 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.002069, allocations: 4.188 kB / 0.6984 GB, free: 9.238 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.002078, allocations: 384 / 0.6984 GB, free: 9.238 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.002083, allocations: 384 / 0.6984 GB, free: 9.238 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.607e-05/0.002119, allocations: 7.938 kB / 0.6984 GB, free: 9.23 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.249e-05/0.002211, allocations: 113.2 kB / 0.6985 GB, free: 9.09 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.00245, allocations: 50.66 kB / 0.6986 GB, free: 9.031 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.002472, allocations: 12.86 kB / 0.6986 GB, free: 9.016 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.002482, allocations: 0 / 0.6986 GB, free: 9.016 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.047e-05/0.002493, allocations: 34.56 kB / 0.6986 GB, free: 8.973 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.002494, allocations: 0 / 0.6986 GB, free: 8.973 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001189/0.002613, allocations: 49.62 kB / 0.6987 GB, free: 8.918 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.002634, allocations: 51.41 kB / 0.6987 GB, free: 8.855 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.14e-05/0.002675, allocations: 113.7 kB / 0.6988 GB, free: 8.734 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.002681, allocations: 25.7 kB / 0.6989 GB, free: 8.703 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.718e-05/0.002699, allocations: 88.14 kB / 0.6989 GB, free: 8.613 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.002723, allocations: 11.84 kB / 0.699 GB, free: 8.602 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.002743, allocations: 21.72 kB / 0.699 GB, free: 8.574 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.847e-05/0.002771, allocations: 310.8 kB / 0.6993 GB, free: 8.262 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.002783, allocations: 8.234 kB / 0.6993 GB, free: 8.254 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-06/0.002793, allocations: 8 kB / 0.6993 GB, free: 8.246 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.766e-05/0.00282, allocations: 24.8 kB / 0.6993 GB, free: 8.219 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.002822, allocations: 0 / 0.6993 GB, free: 8.219 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.998e-05/0.002862, allocations: 49.62 kB / 0.6994 GB, free: 8.164 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.002874, allocations: 4.938 kB / 0.6994 GB, free: 8.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.002879, allocations: 336 / 0.6994 GB, free: 8.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.002891, allocations: 0 / 0.6994 GB, free: 8.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.243e-05/0.002923, allocations: 8 kB / 0.6994 GB, free: 8.152 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.002928, allocations: 0 / 0.6994 GB, free: 8.152 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.002939, allocations: 7.938 kB / 0.6994 GB, free: 8.145 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.002943, allocations: 0 / 0.6994 GB, free: 8.145 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.211e-05/0.002975, allocations: 105.8 kB / 0.6995 GB, free: 8.031 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.002981, allocations: 11.94 kB / 0.6995 GB, free: 8.02 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.755e-05/0.002999, allocations: 11.98 kB / 0.6995 GB, free: 8.008 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.003, allocations: 0 / 0.6995 GB, free: 8.008 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.003004, allocations: 0 / 0.6995 GB, free: 8.008 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.003007, allocations: 3.938 kB / 0.6995 GB, free: 8.004 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.933e-05/0.003046, allocations: 105.3 kB / 0.6996 GB, free: 7.871 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.003047, allocations: 4 kB / 0.6996 GB, free: 7.867 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.003059, allocations: 7.984 kB / 0.6996 GB, free: 7.859 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.003061, allocations: 0 / 0.6996 GB, free: 7.859 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.003067, allocations: 0 / 0.6996 GB, free: 7.859 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.003068, allocations: 0 / 0.6996 GB, free: 7.859 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.003069, allocations: 3.938 kB / 0.6996 GB, free: 7.855 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.313e-05/0.003122, allocations: 73.06 kB / 0.6997 GB, free: 7.766 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-06/0.003127, allocations: 3.953 kB / 0.6997 GB, free: 7.762 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-06/0.003136, allocations: 0 / 0.6997 GB, free: 7.762 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-06/0.003144, allocations: 4 kB / 0.6997 GB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.003158, allocations: 4 kB / 0.6997 GB, free: 7.754 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.00316, allocations: 7.938 kB / 0.6997 GB, free: 7.746 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.585e-05/0.003176, allocations: 83.27 kB / 0.6998 GB, free: 7.664 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.003176, allocations: 0 / 0.6998 GB, free: 7.664 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001047/0.00328, allocations: 7.938 kB / 0.6998 GB, free: 7.656 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 6.333e-05/0.003344, allocations: 103.2 kB / 0.6999 GB, free: 7.547 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.507e-05/0.003409, allocations: 19.92 kB / 0.6999 GB, free: 7.527 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.00341, allocations: 0 / 0.6999 GB, free: 7.527 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.795e-06/0.003418, allocations: 8 kB / 0.6999 GB, free: 7.52 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.003524, allocations: 3.75 kB / 0.6999 GB, free: 7.52 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001898/0.003714, allocations: 142.5 kB / 0.7001 GB, free: 7.348 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.648e-05/0.00374, allocations: 59.34 kB / 0.7001 GB, free: 7.27 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.003761, allocations: 12.5 kB / 0.7001 GB, free: 7.258 MB / 410.8 MB Notification: Performance of SimCode: time 6.01e-07/0.003761, allocations: 0 / 0.7001 GB, free: 7.258 MB / 410.8 MB Notification: Performance of Templates: time 0.001543/0.005304, allocations: 0.509 MB / 0.7006 GB, free: 6.754 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.186321950517595]