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.001907/0.001907, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002237/0.002237, allocations: 214.4 kB / 22.25 MB, free: 3.574 MB / 13.93 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.8/1.8, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.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.462/1.462, allocations: 316.7 MB / 0.6144 GB, free: 93.02 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00444/0.00444, allocations: 69.33 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1885, allocations: 73.99 MB / 0.8472 GB, free: 4.918 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv): time 0.003051/0.1915, allocations: 0.6185 MB / 0.8478 GB, free: 4.312 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001028/0.1916, allocations: 12.55 kB / 0.8478 GB, free: 4.301 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.1917, allocations: 0 / 0.8478 GB, free: 4.301 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.1917, allocations: 0.6875 kB / 0.8478 GB, free: 4.301 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 5.891e-05/0.1918, allocations: 3.938 kB / 0.8478 GB, free: 4.297 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.1919, allocations: 4.656 kB / 0.8478 GB, free: 4.293 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.192, allocations: 16.61 kB / 0.8479 GB, free: 4.277 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.423e-05/0.1921, allocations: 4 kB / 0.8479 GB, free: 4.273 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.153e-05/0.1921, allocations: 0.5625 kB / 0.8479 GB, free: 4.273 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.1922, allocations: 11.92 kB / 0.8479 GB, free: 4.262 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1922, allocations: 1.031 kB / 0.8479 GB, free: 4.262 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-06/0.1922, allocations: 0 / 0.8479 GB, free: 4.262 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.1922, allocations: 4 kB / 0.8479 GB, free: 4.258 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.1923, allocations: 13.86 kB / 0.8479 GB, free: 4.246 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 9.908e-05/0.1924, allocations: 14.59 kB / 0.8479 GB, free: 4.234 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1924, allocations: 0 / 0.8479 GB, free: 4.234 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1924, allocations: 0 / 0.8479 GB, free: 4.234 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.709e-06/0.1924, allocations: 0 / 0.8479 GB, free: 4.234 MB / 474.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.0006534/0.193, allocations: 259 kB / 0.8481 GB, free: 3.949 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.1931, allocations: 13.11 kB / 0.8482 GB, free: 3.938 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.1931, allocations: 4.875 kB / 0.8482 GB, free: 3.934 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.1933, allocations: 110.5 kB / 0.8483 GB, free: 3.801 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1933, allocations: 0.875 kB / 0.8483 GB, free: 3.801 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.1934, allocations: 4.875 kB / 0.8483 GB, free: 3.797 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1935, allocations: 38.25 kB / 0.8483 GB, free: 3.754 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1935, allocations: 4.75 kB / 0.8483 GB, free: 3.75 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.1935, allocations: 4.594 kB / 0.8483 GB, free: 3.746 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1936, allocations: 0 / 0.8483 GB, free: 3.746 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.469e-05/0.1936, allocations: 8.5 kB / 0.8483 GB, free: 3.738 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.1938, allocations: 109.4 kB / 0.8484 GB, free: 3.602 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.1943, allocations: 51.84 kB / 0.8485 GB, free: 3.543 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.1943, allocations: 8.844 kB / 0.8485 GB, free: 3.531 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.1943, allocations: 4.688 kB / 0.8485 GB, free: 3.527 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.1943, allocations: 30.56 kB / 0.8485 GB, free: 3.488 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1943, allocations: 0.625 kB / 0.8485 GB, free: 3.488 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0002205/0.1946, allocations: 58.19 kB / 0.8486 GB, free: 3.426 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.1946, allocations: 55.41 kB / 0.8486 GB, free: 3.359 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1948, allocations: 102.5 kB / 0.8487 GB, free: 3.25 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.1948, allocations: 25.7 kB / 0.8488 GB, free: 3.219 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.1949, allocations: 84.72 kB / 0.8488 GB, free: 3.133 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.1949, allocations: 16.41 kB / 0.8489 GB, free: 3.117 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.1949, allocations: 13.72 kB / 0.8489 GB, free: 3.098 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.1951, allocations: 311.5 kB / 0.8492 GB, free: 2.785 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.1952, allocations: 8.625 kB / 0.8492 GB, free: 2.777 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.1952, allocations: 7.984 kB / 0.8492 GB, free: 2.77 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.416e-05/0.1952, allocations: 17.45 kB / 0.8492 GB, free: 2.75 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1952, allocations: 0 / 0.8492 GB, free: 2.75 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.302e-05/0.1953, allocations: 50.66 kB / 0.8492 GB, free: 2.695 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1953, allocations: 6.344 kB / 0.8492 GB, free: 2.691 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1953, allocations: 0.5469 kB / 0.8492 GB, free: 2.691 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.1954, allocations: 8.578 kB / 0.8493 GB, free: 2.684 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.291e-05/0.1954, allocations: 4 kB / 0.8493 GB, free: 2.68 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1954, allocations: 4.969 kB / 0.8493 GB, free: 2.676 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.1954, allocations: 0 / 0.8493 GB, free: 2.676 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.1954, allocations: 1.906 kB / 0.8493 GB, free: 2.676 MB / 474.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 0.0001077/0.1955, allocations: 109.8 kB / 0.8494 GB, free: 2.559 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.1956, allocations: 7.953 kB / 0.8494 GB, free: 2.551 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.1956, allocations: 7.984 kB / 0.8494 GB, free: 2.539 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.1956, allocations: 3.938 kB / 0.8494 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1956, allocations: 0.75 kB / 0.8494 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1956, allocations: 4 kB / 0.8494 GB, free: 2.531 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.1957, allocations: 107.4 kB / 0.8495 GB, free: 2.398 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1957, allocations: 4 kB / 0.8495 GB, free: 2.395 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.1958, allocations: 4 kB / 0.8495 GB, free: 2.391 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.1958, allocations: 0 / 0.8495 GB, free: 2.391 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1958, allocations: 3.984 kB / 0.8495 GB, free: 2.387 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1958, allocations: 1.219 kB / 0.8495 GB, free: 2.387 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1958, allocations: 7.875 kB / 0.8495 GB, free: 2.379 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.1959, allocations: 77.06 kB / 0.8496 GB, free: 2.285 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.1959, allocations: 4.984 kB / 0.8496 GB, free: 2.281 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.1959, allocations: 4 kB / 0.8496 GB, free: 2.277 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.753e-05/0.196, allocations: 0 / 0.8496 GB, free: 2.277 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.196, allocations: 4.75 kB / 0.8496 GB, free: 2.273 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.196, allocations: 0 / 0.8496 GB, free: 2.273 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.924e-05/0.1961, allocations: 88.86 kB / 0.8497 GB, free: 2.188 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1961, allocations: 0 / 0.8497 GB, free: 2.188 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001843/0.1962, allocations: 7.938 kB / 0.8497 GB, free: 2.18 MB / 474.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 0.0001641/0.1964, allocations: 101.8 kB / 0.8498 GB, free: 2.074 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.1965, allocations: 19.94 kB / 0.8498 GB, free: 2.055 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.1965, allocations: 0 / 0.8498 GB, free: 2.055 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.769e-05/0.1966, allocations: 7.984 kB / 0.8498 GB, free: 2.047 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.1967, allocations: 0 / 0.8498 GB, free: 2.047 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.1971, allocations: 108.9 kB / 0.8499 GB, free: 1.914 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.269e-05/0.1972, allocations: 63.84 kB / 0.85 GB, free: 1.832 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.647e-05/0.1972, allocations: 0.5312 kB / 0.85 GB, free: 1.832 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.1972, allocations: 12.16 kB / 0.85 GB, free: 1.82 MB / 474.8 MB Notification: Performance of SimCode: time 4.21e-07/0.1972, allocations: 0 / 0.85 GB, free: 1.82 MB / 474.8 MB Notification: Performance of Templates: time 0.003119/0.2003, allocations: 401.6 kB / 0.8504 GB, free: 1.492 MB / 474.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: 7.674478543922305]