Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr.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.002275/0.002275, 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.002864/0.002864, allocations: 218.4 kB / 22.25 MB, free: 3.582 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.781/1.781, allocations: 230.6 MB / 256 MB, free: 9.617 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.461/1.461, allocations: 316.7 MB / 0.6144 GB, free: 93.21 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.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr") [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.004125/0.004125, allocations: 74 kB / 0.775 GB, free: 14.92 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.188, allocations: 73.99 MB / 0.8472 GB, free: 5.066 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr): time 0.002523/0.1905, allocations: 0.6434 MB / 0.8478 GB, free: 4.434 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 8.895e-05/0.1906, allocations: 8.812 kB / 0.8479 GB, free: 4.426 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.1906, allocations: 0 / 0.8479 GB, free: 4.426 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.1906, allocations: 0.5 kB / 0.8479 GB, free: 4.426 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 6.017e-05/0.1907, allocations: 4.562 kB / 0.8479 GB, free: 4.422 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.734e-05/0.1908, allocations: 8.672 kB / 0.8479 GB, free: 4.414 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 9.05e-05/0.1909, allocations: 11.98 kB / 0.8479 GB, free: 4.402 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.508e-05/0.1909, allocations: 4.75 kB / 0.8479 GB, free: 4.398 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.714e-05/0.191, allocations: 4 kB / 0.8479 GB, free: 4.395 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.191, allocations: 8.422 kB / 0.8479 GB, free: 4.387 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.1911, allocations: 7.938 kB / 0.8479 GB, free: 4.379 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-06/0.1911, allocations: 0.5 kB / 0.8479 GB, free: 4.379 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.1911, allocations: 8.469 kB / 0.8479 GB, free: 4.371 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.1911, allocations: 4.516 kB / 0.8479 GB, free: 4.367 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 9.041e-05/0.1912, allocations: 15.86 kB / 0.8479 GB, free: 4.352 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.1912, allocations: 4.578 kB / 0.8479 GB, free: 4.348 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1912, allocations: 0.625 kB / 0.8479 GB, free: 4.348 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.1912, allocations: 0 / 0.8479 GB, free: 4.348 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005929/0.1918, allocations: 255.1 kB / 0.8482 GB, free: 4.066 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.291e-05/0.1919, allocations: 16.52 kB / 0.8482 GB, free: 4.051 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.1919, allocations: 0.9375 kB / 0.8482 GB, free: 4.051 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.1921, allocations: 118.9 kB / 0.8483 GB, free: 3.91 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1921, allocations: 5.031 kB / 0.8483 GB, free: 3.906 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.1921, allocations: 384 / 0.8483 GB, free: 3.906 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1923, allocations: 42.84 kB / 0.8484 GB, free: 3.859 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1923, allocations: 192 / 0.8484 GB, free: 3.859 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.1923, allocations: 4.531 kB / 0.8484 GB, free: 3.855 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1923, allocations: 3.938 kB / 0.8484 GB, free: 3.852 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.408e-05/0.1924, allocations: 8.688 kB / 0.8484 GB, free: 3.844 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.1927, allocations: 110 kB / 0.8485 GB, free: 3.707 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.1929, allocations: 50.58 kB / 0.8485 GB, free: 3.648 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.193, allocations: 13.45 kB / 0.8485 GB, free: 3.633 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.193, allocations: 0.7188 kB / 0.8485 GB, free: 3.633 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.193, allocations: 34.56 kB / 0.8486 GB, free: 3.59 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.193, allocations: 0.5 kB / 0.8486 GB, free: 3.59 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0002313/0.1933, allocations: 58.89 kB / 0.8486 GB, free: 3.527 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.1933, allocations: 51.41 kB / 0.8487 GB, free: 3.465 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1935, allocations: 105.8 kB / 0.8488 GB, free: 3.352 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.1935, allocations: 31.67 kB / 0.8488 GB, free: 3.316 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.1935, allocations: 84.14 kB / 0.8489 GB, free: 3.23 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.1936, allocations: 7.906 kB / 0.8489 GB, free: 3.223 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.1936, allocations: 21.7 kB / 0.8489 GB, free: 3.195 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.1938, allocations: 314.8 kB / 0.8492 GB, free: 2.879 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.1939, allocations: 0.5938 kB / 0.8492 GB, free: 2.879 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.768e-05/0.1939, allocations: 15.98 kB / 0.8492 GB, free: 2.863 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.099e-05/0.194, allocations: 18.8 kB / 0.8493 GB, free: 2.844 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.194, allocations: 0 / 0.8493 GB, free: 2.844 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001205/0.1941, allocations: 49.69 kB / 0.8493 GB, free: 2.789 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1941, allocations: 4 kB / 0.8493 GB, free: 2.785 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1941, allocations: 0 / 0.8493 GB, free: 2.785 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.1941, allocations: 5.094 kB / 0.8493 GB, free: 2.781 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.1942, allocations: 11.88 kB / 0.8493 GB, free: 2.77 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1942, allocations: 4 kB / 0.8493 GB, free: 2.766 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.1942, allocations: 4.828 kB / 0.8493 GB, free: 2.762 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1942, allocations: 4 kB / 0.8493 GB, free: 2.758 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 (4): * Single equations (assignments): 4 * 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.0001166/0.1944, allocations: 111.9 kB / 0.8494 GB, free: 2.641 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.1944, allocations: 0 / 0.8494 GB, free: 2.641 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.1944, allocations: 7.688 kB / 0.8494 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.1944, allocations: 7.922 kB / 0.8495 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.1944, allocations: 4.25 kB / 0.8495 GB, free: 2.621 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1944, allocations: 1.438 kB / 0.8495 GB, free: 2.621 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.1946, allocations: 105.3 kB / 0.8496 GB, free: 2.488 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1946, allocations: 3.938 kB / 0.8496 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.1946, allocations: 8 kB / 0.8496 GB, free: 2.477 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1946, allocations: 1.562 kB / 0.8496 GB, free: 2.477 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1946, allocations: 3.984 kB / 0.8496 GB, free: 2.473 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1946, allocations: 0 / 0.8496 GB, free: 2.473 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1946, allocations: 3.938 kB / 0.8496 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.1948, allocations: 83.97 kB / 0.8497 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.1948, allocations: 11.97 kB / 0.8497 GB, free: 2.359 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1948, allocations: 0 / 0.8497 GB, free: 2.359 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.533e-05/0.1948, allocations: 0 / 0.8497 GB, free: 2.359 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.1949, allocations: 3.938 kB / 0.8497 GB, free: 2.355 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.1949, allocations: 4 kB / 0.8497 GB, free: 2.352 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.512e-05/0.1949, allocations: 87.27 kB / 0.8498 GB, free: 2.266 MB / 474.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1949, allocations: 0.625 kB / 0.8498 GB, free: 2.266 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000251/0.1952, allocations: 4 kB / 0.8498 GB, free: 2.262 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 (4): * Single equations (assignments): 4 * 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.0001268/0.1953, allocations: 96.47 kB / 0.8499 GB, free: 2.156 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.1954, allocations: 23.92 kB / 0.8499 GB, free: 2.133 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1954, allocations: 0.5 kB / 0.8499 GB, free: 2.133 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.738e-05/0.1955, allocations: 4.5 kB / 0.8499 GB, free: 2.129 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.1956, allocations: 8.562 kB / 0.8499 GB, free: 2.121 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.1959, allocations: 109.6 kB / 0.85 GB, free: 1.988 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.035e-05/0.196, allocations: 63.97 kB / 0.8501 GB, free: 1.906 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.738e-05/0.196, allocations: 0.7188 kB / 0.8501 GB, free: 1.906 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.1961, allocations: 11.44 kB / 0.8501 GB, free: 1.895 MB / 474.8 MB Notification: Performance of SimCode: time 4.11e-07/0.1961, allocations: 0.8125 kB / 0.8501 GB, free: 1.895 MB / 474.8 MB Notification: Performance of Templates: time 0.002748/0.1988, allocations: 402.7 kB / 0.8505 GB, free: 1.531 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Dopamine.Dopamine_Eugene2016_PD_svr.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.546742899110541]